is there a way to create a button or a link that will dump all of the data from my database? like a reset button?
I know that there is a truncate table command in mysql that works, but how do I code a button in my php page to do the same thing?
You make it call a script. Perhaps dumpall.php? When that page executes, simply put the query DELETE FROM db; That should do it. Then have the page echo "All data has been dumped." Maybe you'd want some links to other pages and stuff.. I don't know.