I have installed Apache, PhP5, MySQL and all is working fine no problem. But if I want to connect to MySQL through PhP NO GO.
Can somebody be of help please.
I can do everything in MySQL with command prompt, and I got the
Code: Select all
"e;root@localhost"e;, as I ask SELECT USER();Code: Select all
$connect = mysql_connect("localhost", "root", "password")Code: Select all
$connect = mysql_connect("root@localhost", "username", "password")