Page 1 of 1
delete id?
Posted: Mon May 23, 2005 11:52 am
by shiznatix
i know there is a mysql_insert_id but is there somthing that does the same thing as insert_id but with a delete query? like a mysql_delete_id.
Posted: Mon May 23, 2005 1:27 pm
by Burrito
you just want to find out the ids of the rows it deleted? I'm pretty sure there's not a function that can tell you this...you could write one pretty easily though, just pass the where clause as an argument and then select against it, throw the id's into an array, then delete the rows and return the array...
Posted: Mon May 23, 2005 1:31 pm
by shiznatix
good thinking detective, i shall report back when i have finished my questioning of the suspects and tell you wether or not they can be charged with the known crime.
Posted: Tue May 24, 2005 12:08 pm
by shiznatix
tried and guilty, they were sentenced to death earlier today and were hung then emidiatly shot then burned...all at sundown
Posted: Tue May 24, 2005 12:12 pm
by Burrito
nice
