rufnex
says
@gkwelding: that is top ;o)
You don’t need a loop for the deleting stuff. You can use the snippet that brenelz postet before or something like that:
$array = range(1,7);
$and = implode(", AND id = ", $array);
print "DELETE FROM table WHERE id = $and";
COPYRIGHT © 2012 ENVATO| TERMS OF USAGE| SUPPORT/HELP| ICONS BY TANGO + WEFUNCTION + FAMFAMFAM
Adobe®, Flash®, Flex®, Fireworks®, Photoshop®, Illustrator®, InDesign® and After Effects® are registered trademarks of Adobe Systems Incorporated.