How do You Delete all database entries without damaging the database structure?
eg.
Table name is "blob"
And it currently holds 15 records of people who eat apples.
I want to be able to delete those 15 records through php.
Tried some ways, but nothing worked.
PHP Code:
mysql_query("TRUNCATE tablename");
doesnt work.
Basically, I want it to empty the Table, and then refill it with updated information.
__________________
Websites Created;
warscope.com
ratepayers.org.nz
|