what you want to delete the users table in ibwf_users and theme name in ibwf_theme? that makes no sense
delete users is allready in place
ok i need to know how delete structures inside table like ibwf_users i want to only clear users, in ibwf_theme i want to only delete theme how and what query to put in sql to do that?![]()
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
<span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">[Only registered and activated users can see links. Click Here To Register...]</span></span>
[Only registered and activated users can see links. Click Here To Register...]
what you want to delete the users table in ibwf_users and theme name in ibwf_theme? that makes no sense
delete users is allready in place
i mean the users or say like i want delete all topics in ibwf_topics i want to make the sql clean something like this
see? no users its clean now i want to make it new again again put site up and start all over again?Code:-- -- Table structure for table `ibwf_users` -- CREATE TABLE `ibwf_users` ( `id` int(100) NOT NULL auto_increment, `name` varchar(30) NOT NULL default '', `pass` varchar(60) NOT NULL default '', `birthday` varchar(50) NOT NULL default '', `sex` char(1) NOT NULL default '', `location` varchar(100) NOT NULL default '', `perm` char(1) NOT NULL default '0', `posts` int(100) NOT NULL default '0', `plusses` int(100) NOT NULL default '700', `signature` varchar(100) NOT NULL default '', `avatar` varchar(100) NOT NULL default '', `email` varchar(50) NOT NULL default '', `browserm` varchar(50) NOT NULL default '', `ipadd` varchar(30) NOT NULL default '', `lastact` int(100) NOT NULL default '0', `regdate` int(100) NOT NULL default '0', `chmsgs` int(100) NOT NULL default '0', `chmood` int(100) NOT NULL default '0', `shield` char(1) NOT NULL default '0', `gplus` int(100) NOT NULL default '700', `budmsg` varchar(100) NOT NULL default '', `lastpnreas` varchar(100) NOT NULL default '', `lastplreas` varchar(100) NOT NULL default '', `shouts` int(100) NOT NULL default '0', `pollid` int(100) NOT NULL default '0', `rbcid` varchar(255) NOT NULL default '', `hvia` char(1) NOT NULL default '1', `lastvst` int(100) NOT NULL default '0', `battlep` int(100) NOT NULL default '700', `popmsg` char(1) NOT NULL default '1', `automsgs` char(1) NOT NULL default '1', `validated` char(1) NOT NULL default '0', `theme` varchar(100) NOT NULL default 'white_medium.css', `hidden` char(1) NOT NULL default '0', `quiz_score` varchar(20) NOT NULL default '0', `quiz_easy` char(3) NOT NULL default 'no', `quiz_medium` char(3) NOT NULL default 'no', `quiz_hard` char(3) NOT NULL default 'no', `total_score` varchar(10) NOT NULL default '0', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; -- -- Dumping data for table `ibwf_users` --
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
<span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">[Only registered and activated users can see links. Click Here To Register...]</span></span>
[Only registered and activated users can see links. Click Here To Register...]
Just empty the tables...
but how with command? with hand too much time![]()
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
<span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">[Only registered and activated users can see links. Click Here To Register...]</span></span>
[Only registered and activated users can see links. Click Here To Register...]
In phpmyadmin, just select the little blocks next to all the tables that you want to empty, and click emptybut how with command? with hand too much time[/b]
5 minutes max
@mysql_query("truncate table `ibwf_users`;");
truncate is in uppercase
Easy Coding....... Juz Read the clear data codings in ur ownerproc.php
Learner then u can get an idea
Code:mysql_query("DELETE post FROM users");Code:mysql_query("DELETE post FROM users WHERE user='".$username."'");Wasn't really sure what you wanted, this is just a few examples, but editing with right verables and tables it would work with lava, (I asume your using lave)Code:mysql_query("DELETE post, chatp, forump, shoutp, galleryp FROM users WHERE user='".$username."'");
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks