Tell me how can we check the value of a given variable is alphanumeric?
No Answer is Posted For this Question
Be the First to Post Answer
What do the initials of php stand for?
Who is the father of php and what is the current version of php and mysql?
How can we submit a form without a submit button?
2 Answers Rushmore Consultancy,
What does sign mean php?
code to see the priview of the image which is being uploaded (after browising the image... just click priview ... how it will be visible...before uploading)
What is a trait in php?
what is CURL?
How can we change the value of a constant?
Can I learn php without knowing c?
Do you know what is the use of rand() 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. -->
What are the advantages of triggers in php?