I get the following error message:
Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site2/web/clandb/addmember.php on line 49
when using :
$sql = "UPDATE $table_name
SET
password = \"$password\",
WHERE userid = \"$userid\"
";
$result = mysql_query($sql,$connection);
the connection is correct.