What is the difference between echo, print and printf()?
No Answer is Posted For this Question
Be the First to Post Answer
Why print_r is used 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 days will it take to learn php?
What are the benefits of composer?
Is php 7.0 stable?
What is full form of PHP?
What is register_globals in php?
6 Answers Castling IT, HCL, Intel Soft Solutions, Millennium,
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', )
What is the difference between php 5 and php 7?
What are examples of independent and dependent variables?
What is the purpose of php?
Tell me what's the difference between include and require?