Posts: 960 Location: in front of a computer (duh) Joined: 05.04.07 Rank: Mad User
Posted on 23-09-08 16:34
This is a bit of an emergency since I have a project that is due tomorrow, and I ran into several issues, which includes a friend that was supposed to do the databases somehow ruined his laptop, so I ended up having to do it as well.
For this project I am using xampp 1.67.
One of the pages I made was a registration page where the user has to enter their name, age and email and these information will then be stored in the database.
The form process file:
When I tried it out, I got this error:
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'host' (11001) in C:\xampp\htdocs\formproc.php on line 21
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\xampp\htdocs\formproc.php on line 22
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\formproc.php on line 32
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\formproc.php on line 32