Hi,
Im trying to update some values in database and the code goes like this
$sql = "UPDATE tbl_users SET status='$sta' WHERE user_ID=$user_id";
if (!mysql_query($sql,$con))
{
die('Could not update table tbl_users: ' . mysql_error());
}
But while execueting im getting a message
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/ffinders/public_html/working_files/member_confirm_posted.php on line 286
Could not update table tbl_users:
Help me.What's wrong in this.
mysql_query(): supplied argument is not a valid MySQL-Link
Moderator: General Moderators