Tell me how to execute an sql query? How to fetch its result?
Submitted by: Muhammad$my_qry = mysql_query("SELECT * FROM `users` WHERE `u_id`='1'; ");
$result = mysql_fetch_array($my_qry) or die ('Error: Unable to get data.');
echo $result['First_name'];
Submitted by: Muhammad
$result = mysql_fetch_array($my_qry) or die ('Error: Unable to get data.');
echo $result['First_name'];
Submitted by: Muhammad
Read Online Junior Developer PHP Job Interview Questions And Answers
Top Junior Developer PHP Questions
☺ | Tell me how the result set of Mysql be handled in PHP? |
☺ | Tell me whether it is possible to share a single instance of a Memcache between multiple PHP projects? |
☺ | Do you know what does $GLOBALS means? |
☺ | Please explain is it possible to use COM component in PHP? |
☺ | Explain how can PHP and Javascript interact? |
Top Web Developer Categories
☺ | Bootstrap Interview Questions. |
☺ | Front End Web Developer Interview Questions. |
☺ | Typography Interview Questions. |
☺ | Laravel PHP Developer Interview Questions. |
☺ | Junior Developer PHP Interview Questions. |