Hi,
Need an urgent help!
I have a script like this:
mysql_db_query ($SQL_DB, "UPDATE admin SET
adminpassword = ENCODE($pwd, 'pass')
WHERE admin_id = '$admin_id'
");
for changing password. But it sometimes work and most of the time doesn't. When it doesn't work, the old password is not updated at all! It looks like the SQL statement is not processed. But I'm sure the problem did go through this statement as the next statement is run.
Please help...
Thanks,
Alex
Need an urgent help!
I have a script like this:
mysql_db_query ($SQL_DB, "UPDATE admin SET
adminpassword = ENCODE($pwd, 'pass')
WHERE admin_id = '$admin_id'
");
for changing password. But it sometimes work and most of the time doesn't. When it doesn't work, the old password is not updated at all! It looks like the SQL statement is not processed. But I'm sure the problem did go through this statement as the next statement is run.
Please help...
Thanks,
Alex