if(mysql_query("update book set hometel='".$edit_hometel.",worktel='".$edit_worktel."', fax1='".$edit_fax1."',fax2='".$edit_fax2."',pobox='".$edit_pobox."',email='".$edit_email."' where name=".$row['name']." and hometel=".$row['hometel'])){
echo "<font face='arial narrow' size='3' color='#ffffff'>The Record has updated succesfully.</font><br>";
echo "<a href='index.php'><img src='images/buttons/continue_butt.gif' border='0'></a>";
}else{
echo "<font face='arial narrow' size='3' color='#ffffff'>An error has occured. Updating record failed.</font>";
}
All Variables' names are right but it dosn't update the record. Please, do you have an idea how to make it work.