Bisa Posted May 25, 2006 Share Posted May 25, 2006 With some help Im now able to add rows into my table but how do I drop rows? the only thing I can find is the "drop_table" and thats not what I want...all help/suggestions are welcome Link to comment https://forums.phpfreaks.com/topic/10420-mysql-related-question/ Share on other sites More sharing options...
kooper Posted May 25, 2006 Share Posted May 25, 2006 [!--quoteo(post=376935:date=May 25 2006, 10:03 AM:name=Bisa)--][div class=\'quotetop\']QUOTE(Bisa @ May 25 2006, 10:03 AM) [snapback]376935[/snapback][/div][div class=\'quotemain\'][!--quotec--]With some help Im now able to add rows into my table but how do I drop rows? the only thing I can find is the "drop_table" and thats not what I want...all help/suggestions are welcome[/quote]you can do it the hard way with phpmyadminor use this query $sql = "DELETE FROM the_table WHERE id = '$whatever_your deleting"; $result = mysql_query($sql);obviously replaceing the_table and whatever_your deleting with whatever you tables and variables are Link to comment https://forums.phpfreaks.com/topic/10420-mysql-related-question/#findComment-38836 Share on other sites More sharing options...
Bisa Posted May 25, 2006 Author Share Posted May 25, 2006 thnx, you are my savior ^^ my database started to grow pretty big there :P Link to comment https://forums.phpfreaks.com/topic/10420-mysql-related-question/#findComment-38842 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.