PDA

View Full Version : Refresh Database!


Neo
03-22-2002, 11:18 PM
Does anyone know how to refresh your database so that everything is set back to nothing.. but still have all the add-ons remain?

cditty
03-23-2002, 01:27 AM
Are you looking to totally empty the db out? With phpMyAdmin, you should be able to empty each table at will.

Chris

Neo
03-23-2002, 01:29 AM
yes I know that.. but there is some info I need to keep in the database.. like the defualt templates and such.

cditty
03-23-2002, 01:33 AM
Hmmm. Then I don't know. Maybe firefly or another mod will be able to help.

Chris

Neo
03-23-2002, 01:41 AM
Hmm.. I am going to make a hack for this.. I know how to do it now.

TECK
03-27-2002, 12:12 AM
hmm.. use flush()

Neo
03-27-2002, 12:20 AM
and I would use this how

TECK
03-27-2002, 12:24 AM
http://www.php.net/manual/en/function.flush.php
if you want to see it in action, check the VB installer.. function doqueries()