I have a table filled up, and I want to remove all the data inside the table. How can I do this? I know I have to use a query... But I am unfamiliar with the IDs of the table rows, and etc.
Please Help micah
TRUNCATE TABLE table_name
Could you possible give me an example? Still new here!
do you mysql connection stuff, then
$query = "TRUNCATE TABLE whatvever_your_table_name_is_here;"; $result = mysql_query($result) or die(mysql_error());