Thanks! The page works now, only thing is when i submit it it returns this error:
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' `full_name` = '', `address` = '', `tel` = '', `fax` = '', `websi' at line 1"
so it could be the bit that is here in the code possibly?
Code:
mysql_query("update users set pwd='$newmd5' where `id`='$_SESSION[user_id]',
`full_name` = '$_POST[name]',
`address` = '$_POST[address]',
`tel` = '$_POST[tel]',
`fax` = '$_POST[fax]',
`website` = '$_POST[web]',
WHERE id='$_SESSION[user_id]'
") or die(mysql_error());
Im not sure though?