How to create database connection and query in php?
No Answer is Posted For this Question
Be the First to Post Answer
hi! i am tushar. i am trying to insert digital signature in a pdf file using PHP. i create a digital signature jpg image using imagecreatefromjpeg() function, but whenever i trying to insert it into my pdf file it shown this error. "FPDF error: Not a JPEG file: signature.jpg". could some one help me? how can i insert a digital signature in a pdf file using PHP?
How many types of arrays are there in php?
What's php?
What are the functions used in php?
how to get the value in script values
What is the purpose of the '.frm' file extension? What do thes file contain?
Is PHP an open source software?
Do you know what does $globals means?
What are the data types in php?
<?php include ("db.php"); $result = mysql_query("SELECT ques_id FROM questionbank order by ques_id limit 5 "); while($obj=mysql_fetch_array($result)) { $ad1[$obj['ques_id']]++;//Used an array and inserted the database query results into it. } $rand_keys=array_rand($ad1,1); //Did a random array function echo "First random id = ".$ad1[$rand_keys[0]]; echo "<br>Second random id = ".$ad1[$rand_keys[1]]; ?> <!--Its not working. Have any solution for this. -->
Does it possible to compile php with mysql without having mysql sources?
Can we embedded directly PHP code into XHTML document? State Whether True or False?