RE: Remove rows from a MySQL table?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phil Neeb <mailto:06prneeb@xxxxxxxx>
    on Thursday, March 24, 2005 9:35 AM said:

> Is it possible to remove a row(s) from a MySQL table? I looked through
> the PHP manual and didn't see anything about it.

Use the word "delete" instead of remove.

In any case you have to tell MySQL which records you want to delete.

DELETE FROM `table`
WHERE `columnA` = 'valueA';



HTH,
Chris.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux