Saturday, August 9, 2008

General Questions in PHP?

1. What is your versions of PHP, MySQL and Apache server?
2. What is AJAX?
3. What is Framework Project?
4. How may Framework projects you have worked?
5. Example any 6 Frameworks?
6. What is PHP?

1. What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?
2. Who is the father of php and explain the changes in php versions?
3. How can we submit from without a submit button?
4. How many ways we can retrieve the date in result set of mysql using php?
5. What is the difference between mysql_fetch_object and mysql_fetch_array?
6. What is the difference between $message and $$message?
7. How can we extract string 'abc.com ' from a string 'http://info@abc.com' using regular _expression of php?
Ans: preg_match("/^(http:\/\/info@)?([^\/]+)/i","http://info@abc.com", $data); echo $data[2];

8. How can we create a database using php and mysql?
9. What are the differences between require and include, include_once?
10. Can we use include ("abc.php") two times in a php page "makeit.php"?

No comments:

Popular Posts