just me and php Posted July 11, 2007 Share Posted July 11, 2007 Hi Im Not Real Good At Explaining What I Want So Please Bare With Me. I Have A Page On My Site That The Database Outputs To. There Is A User That I Dont Want To Ban Yet , But I Do Want To Block Or auto Delete His Data. Now When Everyone Post New Data The Only Table That Would identify Them Is The Username Table, There Is No Member ID Table. Now I Would Like To querry The Database And Auto Delete Table (Username) BOBBY And The Row BOBBY Posted , So There Is No Data Output To My Site Page For BOBBY. Can Someone Give Me A Couple Codes To Try, And I Would Think The Code Would Need To Be On A New Page That I Need To Make Up Right? Thanks Quote Link to comment Share on other sites More sharing options...
teng84 Posted July 11, 2007 Share Posted July 11, 2007 your explanation is very bad but ill try this SELECT * FROM YOURTABLE WHERE FIELDS NOT IN('BOB','ASTIG') That retuns data without bob and astig now on your auto delete or ban!!!! i should say use another field for that that will be set as active and non active Quote Link to comment Share on other sites More sharing options...
just me and php Posted July 11, 2007 Author Share Posted July 11, 2007 Thanks Il Try That Quote Link to comment Share on other sites More sharing options...
suma237 Posted July 11, 2007 Share Posted July 11, 2007 click on "Topic solved" Quote Link to comment Share on other sites More sharing options...
teng84 Posted July 11, 2007 Share Posted July 11, 2007 hmm how can we tell this people to do that allot of topic are being solve but they dont mark it solve ??? 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.