jon182 Posted March 25, 2009 Posted March 25, 2009 ok. $db->query("DELETE FROM shopitems WHERE VALUES('',{$_POST['shop']},{$_POST['item']})"); that is my query to delete after having a shop and a items dropbox above it. why doesn't it delete the chosen item from the chosen shop when i hit the button? please respond quickly Quote
gideon prewett Posted March 25, 2009 Posted March 25, 2009 Re: THIS IS URGENT!!! why is this urgent? Quote
jon182 Posted March 25, 2009 Author Posted March 25, 2009 Re: THIS IS URGENT!!! because i have to get up early and go to bed soon and i really need to finish before i lose my momentum on the project Quote
jon182 Posted March 25, 2009 Author Posted March 25, 2009 Re: THIS IS URGENT!!! sooo could i get a real response?? An answer would be nice instead of "why's it important" or "lol" Quote
Lithium Posted March 25, 2009 Posted March 25, 2009 Re: THIS IS URGENT!!! 3 hours later... lol Probably it doesn't work cause you're passing (or not) the incorrect values? Quote
DELETE ME NOW! Posted March 25, 2009 Posted March 25, 2009 Re: THIS IS URGENT!!! Okay here you go. lol! $db->query("DELETE FROM `users` WHERE (`userid` = $userid)"); Quote
jon182 Posted March 25, 2009 Author Posted March 25, 2009 Re: THIS IS URGENT!!! how does this help??? by the way i figured it out on my own now i'm just down to an sql syntax error. Quote
DELETE ME NOW! Posted March 25, 2009 Posted March 25, 2009 Re: THIS IS URGENT!!! Try it and you will see :xd: Quote
jon182 Posted March 25, 2009 Author Posted March 25, 2009 Re: THIS IS URGENT!!! i'm not stupid. it will just delete users Quote
jon182 Posted March 25, 2009 Author Posted March 25, 2009 Re: THIS IS URGENT!!! fixed it myself Quote
Sp1d3r Posted March 25, 2009 Posted March 25, 2009 Re: THIS IS URGENT!!! fixed it myself Awesome!!! w00tness +1 Quote
grimreaper6996 Posted March 26, 2009 Posted March 26, 2009 Re: THIS IS URGENT!!! Taking a dump is URGENT Quote
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.