whoisgregg - 10:59 pm on Aug 20, 2006 (gmt 0) Just in case... ;)
When I programatically delete from a DB, I prefer to limit the damage risk by adding in a LIMIT to how many rows could be deleted. I'm also a fan of backticking everything.
$query = "DELETE FROM `service` WHERE `service_id` = $serviceid LIMIT 1";
Just in case... ;)