Sr. PHP Programmer Question:

Download Job Interview Questions and Answers PDF

Write a program using while loop?

Senior PHP Programmer Interview Question
Senior PHP Programmer 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 Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How will you retrieve formatted string of trace in PHP when error occurred?What are interfaces n PHP?