Sr. PHP Programmer Question:
Download Questions PDF

How will you create a MySql database using PHP?

Answer:

PHP uses mysql_query function to create a MySQL database. This function takes two parameters and returns TRUE on success or FALSE on failure.

bool mysql_query( sql, connection );

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How to create a mysql connection?Write down the code for save an uploaded file in php?