Lamez Posted October 13, 2008 Share Posted October 13, 2008 Is there a way to delete all the information in one mysql table? Link to comment https://forums.phpfreaks.com/topic/128141-solved-delete-whole-table/ Share on other sites More sharing options...
unrelenting Posted October 13, 2008 Share Posted October 13, 2008 Is there a way to delete all the information in on mysql table? TRUNCATE TABLE tablename; Link to comment https://forums.phpfreaks.com/topic/128141-solved-delete-whole-table/#findComment-663648 Share on other sites More sharing options...
Lamez Posted October 13, 2008 Author Share Posted October 13, 2008 do I need to use a query statement? mysql_query("TRUNCATE TABLE tablename"); Link to comment https://forums.phpfreaks.com/topic/128141-solved-delete-whole-table/#findComment-663649 Share on other sites More sharing options...
bluejay002 Posted October 13, 2008 Share Posted October 13, 2008 yes Link to comment https://forums.phpfreaks.com/topic/128141-solved-delete-whole-table/#findComment-663650 Share on other sites More sharing options...
Lamez Posted October 13, 2008 Author Share Posted October 13, 2008 Thanks! Link to comment https://forums.phpfreaks.com/topic/128141-solved-delete-whole-table/#findComment-663654 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.