Skip to main content

Posts

Showing posts from January, 2016

Top 200 PHP interview questions and answers are below

Top 200 PHP interview questions and answers are below Questions : 1 Who is the father of PHP ? Answers : 1 Rasmus Lerdorf is known as the father of PHP. Questions : 2 What is the difference between $name and $$name? Answers : 2 $name is variable where as $$name is reference variable like $name=sonia and $$name=singh so $sonia value is singh. Questions : 3 How can we submit a form without a submit button? Answer : 3 Java script submit() function is used for submit form without submit button on click call document.formname.submit() Questions : 4 In how many ways we can retrieve the data in the result set of MySQL using PHP? Answer : 4 We can do it by 4 Ways 1. mysql_fetch_row. , 2. mysql_fetch_array , 3. mysql_fetch_object 4. mysql_fetch_assoc Questions : 5 What is the difference between mysql_fetch_object and mysql_fetch_array? Answers : 5 mysql_fetch_object() is similar to mysql_fetch_array()...