Re: Delete from mysql table is there a way to....

From: Date: Mon, 15 Apr 2002 05:59:19 +0000
Subject: Re: Delete from mysql table is there a way to....
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-18504@lists.php.net to get a copy of this message
your posts are here. i don't think you could do this in other way. if is possible i'm curios about it too. Jennifer Downey a écrit : > Hi all, > I'm not sure if my first post showed up so I am going to post it again and I > apologize if it shows up twice. > > Is there a way to delete a record from a mysql table without fragmenting the > db? > > Here is the query I am using and it does a horrible job. Fragment city. > > if ($quantity == 0) > { > $gone = mysql_query("DELETE FROM {$config["prefix"]}_my_items WHERE > uid={$session["uid"]} AND id = '$item'"); > } > > Thanks > Jennifer > > -- > The sleeper has awaken > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002 > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Marius Ursache (3563 || 3494) \|/ ____ \|/ "@'/ ,. \`@" /_| \__/ |_\ \__U_/

« previous php.db (#18504) next »