I have been working on a site for a while now, and finally wanted to load it up to the server. I have been working on my own computer with xampplite. Everything was working just fine. When I uploaded it, after a few little things to resolve, I got most things working just fine. But I have one major problem, each time I connect to the database I get errors. It connects fine, and when I ping the database, it is there. But as soon as I try something like:
mysql_fetch_array() or mysql_fetch_assoc() or whatever, it gives me errors. After trying all sorts of things and searching for solutions on forums, I believe that my code is good, but somehow the server's settings or the php settings are giving me problems. I tried to ask for help from my server's help thingi, but they couldn't help me with technical problems like that.
I have had a look at the php.ini file and everything looks okay there, but maybe I am missing something. I am just a novice with mysql and php.