Jump to content

Register Script


ChidoriSoul
 Share

Recommended Posts

GrrrrWarning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/tparpg.awardspace.co.uk/register.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/www/tparpg.awardspace.co.uk/register.php:28) in /home/www/tparpg.awardspace.co.uk/register.php on line 37Line 28if (mysql_num_rows($result) > 0)line 37header('Location: login.php');

Link to comment
Share on other sites

Check your Database Login credentials. username/password/ dbname. Looks like it either failed to connect, or found no data.Is there data in the Database?

Edited by jlhaslip
Link to comment
Share on other sites

echo '<p>' . mysql_error() . '<br /><br />Query: ' . $query . '</p>'; // Debugging message.

On an error, ec ho out the Error details and the actual Query you used.Replace the "$query" with the variable used in your code.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...