Cleaning a resultset
| From: | Shaun | Date: | Thu, 08 Sep 2005 13:28:35 +0000 |
| Subject: | Cleaning a resultset | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-222021@lists.php.net to get a copy of this message | ||
Hi,
I have a resultset from a query and need to remove some rows after doing
some php processing then insert into another table i.e.
/** Get data**/
$qid = mysql_query('SELECT ...);
/** Clean data **/
while( $r = mysql_fetch_object( $qid ) ) {
}
How can i generate a new resultset / remove data from the existing resultset
using this method?
Thanks for your help