problem with connecting to mysql within php

leeka26

New Member
Messages
13
Reaction score
0
Points
0
Hi all,

I made a site on x10 with php, and I also made a mysql database, and used php to connect to it. I tested it with XAMPP, and it worked perfectly. But when I changed the username and password to mysql and put the files up on x10, it gave an error, saying:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource

Any ideas how I could solve this problem?
 
Top