mysql_connect
Posted by:
trevshand
(---.microsoft.com)
Date: March 04, 2009 10:11PM
I am trying to learn PHP and MySQL. I have built a form and want to get the contents of the form to post to a local MySQL database. To do this I need to include a mysql_connect command which is followed by my mysql server location, user name, password and database name. I created a new user using myphpadmin but I'm getting an error, I believe because I don;t have the location correct.
Can anyone help?
Trevor
Edited 1 time(s). Last edit at 03/05/2009 06:38PM by trevshand.