Re: [PHP-DB] how to delete

2007-06-19 Thread Niel Archer
Hi There is no DESTROYIMAGE() function. May be you mean imagedestroy(). If so this does NOT erase files, it destroys in memory images created using the Image functions. To erase files use the unlink function. For detail look here http://uk3.php.net/unlink Niel -- PHP Database Mailing List (

Re: [PHP-DB] how to delete

2007-06-19 Thread bedul
unlink (PHP 3, PHP 4, PHP 5) unlink -- Deletes a file Description bool unlink ( string filename [, resource context] ) Deletes filename. Similar to the Unix C unlink() function. Returns TRUE on success or FALSE on failure. : As of PHP 5.0.0 unlink() can also be used with some URL wrappers

Re: [PHP-DB] How to delete specific row in mysql table?

2001-08-28 Thread Jason Brooke
> Hi! > I am new to this an wonder how to delete a row in my table. > > I have tryed with: > -- > DELETE FROM mytable WHERE 3>2 > - > to delete row number 3 but all rows goes away! > > Thanks in advance for any help. > Regards > Jan That's because the number 3 is greater than the number

RE: [PHP-DB] How to delete specific row in mysql table?

2001-08-28 Thread Rick Emery
Your statement is saying: "if 3 is greater than 2, delete all" Your WHERE criteria should be based upon a specific field's contents, NOT its position in a data base -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 11:51 AM To: [EMAIL PROTE