How will you create a mysql database using php ?

Answer Posted / mruttu

mysql_connect('servername','username','password');

Is This Answer Correct ?    5 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of $_server["php_self"] variable?

524


What is the use of strip_tags() method?

543


How to connect to mysql from a php script?

556


Do you know how to declare an array in php?

538


How can we get the error when there is a problem to upload a file?

518






How do I run a php script in windows?

540


Which method removes the last element from the end of an array?

490


What is mysql_fetch_row?

541


What is null value in php?

563


What is php dependency injection?

522


What is final keyword in php?

540


Do you know what is php?

548


Which function will suitably replace 'x' if the size of a file needs to be checked? $Size=x(filename);

544


Tell us how to redirect a page in php?

535


What is php session id?

522