Hi,
I'm new to PHP and MySQL, and trying to connect to the database on my host so I can start displaying results with PHP. The only issue is that I don't know if I can use mysql_connect() alone, or I need to do something before I use it.
This is the situation. When I use MySQL alone, my host has set it up so that I need to log on to their server with my username and password, before using mysql -h hostname -p to get into MySQL. The passwords for the server log on and the database log on are different.
How do I get around this and let PHP know how to connect?