Lamez Posted October 13, 2008 Share Posted October 13, 2008 Is there a way to delete all the information in one mysql table? Quote Link to comment 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; Quote Link to comment 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"); Quote Link to comment Share on other sites More sharing options...
bluejay002 Posted October 13, 2008 Share Posted October 13, 2008 yes Quote Link to comment Share on other sites More sharing options...
Lamez Posted October 13, 2008 Author Share Posted October 13, 2008 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.