×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 5, 2018 8:52 AM
Views: 2813
  1. $sql = "TRUNCATE TABLE `$table_name`";
  2. if (! $db->Query($sql)) {$db->Kill();}