Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Write a program using while loop in PHP?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

$my_qry = mysql_query("SELECT * FROM `users` WHERE `u_id`='1'; ");
while($result = mysql_fetch_array($my_qry))
{
echo $result['First_name'.]."
";
}

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me differences between GET and POST methods?Tell me what is the default session time in php?