Hello ive got a form where the users enter there details on a form then click on submit which then should update there telephone number, where is says where Email= $_Post[Email]") thats one of the fields that automatically appear the email cant be updated, this code below luks correct and no errors but aint updating the database it just stays the same and ive tried echo mysql_query and it appears with errors when i use that any ideas what could be wrong
mysql_query("UPDATE StudentRecords SET TelephoneNumber = $_POST[TelephoneNumber] WHERE Email = $_POST[Email]");