What is a http session?
No Answer is Posted For this Question
Be the First to Post Answer
For image work which library is used in php?
How do i explode this string '||25||34||73||94||116||128' i need to have a array like this array ( 0 => '25', 1 => '34', 2 => '73', 3 => '94', 4 => '116', 5 => '128' ) explode("||", $array); didnt work for me i get this array array ( 0 => '', 1 => '25', 2 => '34', 3 => '73', 4 => '94', 5 => '116', 6 => '128', )
How to protect special characters in query string?
What is php static function?
What type of operation is needed when passing values through a form or an url?
Why php is sometimes called as embedded scripting language?
What does explode do in php?
What is empty () 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. -->
How many ways to include array elements in double-quoted strings using php?
client side scripting language Vs server side scripting language
What is the use of "echo" in php?