View Single Post
scopey
x10Hosting Member

Join Date: May 2008
Posts: 55
Credits: 526
scopey is on a distinguished road
Quote  
09-25-2008, 04:10 AM
Re: How to delete multiple MySQL rows...?

I'm also lost... If you want to delete rows 1 to random number, you can use "DELETE * FROM slaves LIMIT 1, {$randomdel}" where the first number after the 'LIMIT' indicates the start, and the second indicates the amount.
__________________
- When in doubt, refer to the PHP manual.

Last edited by scopey; 09-25-2008 at 04:12 AM.
Reply With Quote
scopey is offlineReport Post