ok, i had previously got a form up and running and working fine but it needed to be changed and so i removed the form and the table from the mysql database and now when trying to create the new version im running into the problem
Warning: mysql_connect() [function.mysql-connect]: Access denied for user '<username>'@'<server>.<webhosting>.com.au' (using password: YES) in /home/<userfolder>/public_html/form/process3.php on line 316
Could not establish connection to MySQL database with the information provided.
i had got this previously and got it working by creating a table in the mysql database, i tried that again (ok ill say now i know sweet fa bout the coding for sql but i learn quickly from tutorials) but i still get the same error
my form includes mostly text boxes, an email field, a text area field, check boxes (do i need to make individual checkboxes for each field like i have an few selections that need to be checkboxes do i need a checkbox for each), some radio button fields and a field to upload a file.
wha im asking is 1 - can someone give an idea wha to do to get the damn thing talking to the database, and 2 - what the correct datatypes and values would be for the types of fields i need.
thanx heaps in advance to everyone who can give any info, ive always gotten great stuff from here
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"Access Denied" is not telling you the table entries are wrong. It is telling you that the username and password are not being communicated properly. Check the process.php entries for username and password and then make sure the MySQL db supports this user.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok, i had previously got a form up and running and working fine but it needed to be changed and so i removed the form and the table from the mysql database and now when trying to create the new version im running into the problem
Warning: mysql_connect() [function.mysql-connect]: Access denied for user '<username>'@'<server>.<webhosting>.com.au' (using password: YES) in /home/<userfolder>/public_html/form/process3.php on line 316
Could not establish connection to MySQL database with the information provided.
i had got this previously and got it working by creating a table in the mysql database, i tried that again (ok ill say now i know sweet fa bout the coding for sql but i learn quickly from tutorials) but i still get the same error
my form includes mostly text boxes, an email field, a text area field, check boxes (do i need to make individual checkboxes for each field like i have an few selections that need to be checkboxes do i need a checkbox for each), some radio button fields and a field to upload a file.
wha im asking is 1 - can someone give an idea wha to do to get the damn thing talking to the database, and 2 - what the correct datatypes and values would be for the types of fields i need.
thanx heaps in advance to everyone who can give any info, ive always gotten great stuff from here
"Access Denied" is not telling you the table entries are wrong. It is telling you that the username and password are not being communicated properly. Check the process.php entries for username and password and then make sure the MySQL db supports this user.