Well, simply echoing out "Records updated" does nothing to confirm that anything actually worked. Without checking the return value of mysql_query() and doing some error logging/reporting if it's false, there's no way to tell if the query was even accepted as valid by MySQL. And even if it is valid syntax, that does not mean any rows actually got updated (e.g. if the where clause did not match any record) in which case you can use mysql_affected_rows() to determine how many rows were updated (and again do some error logging/reporting if it returns zero).