How can we create a database using PHP and mysql?

Answer Posted / b.chandrasekaran

using
mysql_db_create("databasename");

we can create new database in php.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope of a variable defined outside a function?

740


What is preg_match?

743


Explain the different types of errors in php.

804


Which is better php praogramming or cad/cam scope wise and also salaray wise?

1777


How is csrf token generated?

711


What is difference between array_merge and array_combine in php?

732


What are the special characters you need to escape in double-quoted stings?

801


How many functions are there in php?

741


Is php required for wordpress?

736


What is a closure in php?

782


What is an array in php?

830


Are php sessions secure?

734


What is whitespace in php?

771


What is the tags in PHP is not a valid way to begin and end a PHP code block?

1020


What is session in PHP. How to remove data from a session?

717