Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Re: Help with class project (emergency)


fuser's Avatar
Member
0 -1

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 code: The form: http://pastebin.ca/1209375 The form process file: http://pastebin.ca/1209377

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


spyware's Avatar
Banned
0 0

Start MySQL service. Check firewall(s).

You're welcome.


fuser's Avatar
Member
0 -1

I did, and I managed to fix the issue while I was at it.

Thanks for looking into it anyway.


spyware's Avatar
Banned
0 0

fuser wrote: I did, and I managed to fix the issue while I was at it.

Thanks for looking into it anyway.

Can you tell what was wrong/what you fixed?


hellboundhackersok's Avatar
Banned
0 0

Because if you don't, then this thread doesn't help anyone elseā€¦


ghost's Avatar
0 0

The guy's probably busy with the project(s).

Im sure he'll get back to us soon.