I dont think that is the problem he is encountering. To me it sounded like the script was just defaulting to the username/password mismatch error.
Could always try what you suggested though;
Below;
add
if ($error) { echo "There was an error. It was: $error"; }
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Could always try what you suggested though;
Below;
Code:
$a = mysql_fetch_array($r);add
Code:
$error = mysql_error(); if ($error) { echo "There was an error. It was: $error"; }
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!