MySQL Using TRUNCATE

Aug 26, 2010 Author: Developer
The TRUNCATE statement allows us to delete all the rows from a table. TRUNCATE is faster than a DELETE statement because it works by dropping the table and re-creating it empty. One thing to bear in mind…

PHP Checking to See If a File Exists

Aug 31, 2009 Author: vvaswani
fopen() generates error messages if you're trying to open a file that doesn't exist, as do other functions such as unlink(), when you attempt to delete a nonexistent file.

How to delete-remove file with PHP

Feb 23, 2009 Author: Developer
PHP function unlink ()is delete file if the filename like argument is valid. Example In this exampleat beginning we have user function who try to delete file and write result message if file is deleted.