> the query executes fine, but the row is not updated the usual suspect when this happens is the WHERE clause is id numeric, perhaps? if you run select id,hours from $tablename where id = '$id' what do you get? rudy