Sr. PHP Programmer Question:

How to create a mysql connection?

Senior PHP Programmer Interview Question
Senior PHP Programmer Interview Question

Answer:

mysql_connect(servername,username,password);


Previous QuestionNext Question
How will you parse an XML document using PHP?How will you create a MySql database using PHP?