1
1. Who is the father of PHP ?
Explanation: Rasmus Lerdorf is known as the father of PHP.

Directing to forums.. wait...!

2. What is PHP?
Explanation: PHP (Hyper text Pre Processor) is a scripting language commonly used for web applications. PHP can be easily embedded in HTML. PHP generally runs on a web server. It is available for free and can be used across a variety of servers, operating systems and platforms

Directing to forums.. wait...!

3. How can we submit a form without a submit button?
Explanation: Java script submit() function is used for submit form without submit buttonon click call document.formname.submit()

Directing to forums.. wait...!

4. What is the difference between mysql_fetch_object andmysql_fetch_array?
Explanation: mysql_fetch_object() is similar tomysql_fetch_array(), with one difference -an object is returned, instead of an array. Indirectly, that means thatyou can only access the data by the field names, and not by theiroffsets (numbers are illegal property names).

Directing to forums.. wait...!

5. How can we extract string \"pcds.co.in \" from a string \"http://info@pcds.co.inusing regular expression of PHP?
Explanation: preg_match(\"/^http:\\/\\/.+@(.+)$/\",\"http://info@pcds.co.in\",$matches); echo $matches[1];

Directing to forums.. wait...!

6. How can we create a database using PHP and MySQL?
Explanation: We can create MySQL database with the use ofmysql_create_db(\"Database Name\")

Directing to forums.. wait...!

7. Can we use include (\"xyz.PHP\") two times in a PHP page \"index.PHP\"?
Explanation: Yes we can use include(\"xyz.php\") more than one time in any page. but it create a prob when xyz.php file contain some funtions declaration then error will come for already declared function in this file else not a prob like if you want to show same content two time in page then must incude it two time not a prob

Directing to forums.. wait...!

8. What is use of header() function in php ?
Explanation: The header() function sends a raw HTTP header to a client.We can use herder() function for redirection of pages. It is important to notice that header() mustbe called before any actual output is seen..

Directing to forums.. wait...!

9. How can I execute a PHP script using command line?
Explanation: Just run the PHP CLI (Command Line Interface) program andprovide the PHP script file name as the command line argument.

Directing to forums.. wait...!

10. Suppose your Zend engine supports the mode <? ?> Then how can uconfigure your PHP Zend engine to support <?PHP ?> mode ?
Explanation: In php.ini file:setshort_open_tag=onto make PHP support

Directing to forums.. wait...!