karthivignesh Posted December 17, 2009 Share Posted December 17, 2009 How To delete two tables in Single Query? Quote Link to comment https://forums.phpfreaks.com/topic/185438-delete-two-table/ Share on other sites More sharing options...
DarrenReeder Posted December 17, 2009 Share Posted December 17, 2009 mysql_query("DELETE FROM $table WHERE $field1='blah' OR $field2='blah'"); dunno if that works? Quote Link to comment https://forums.phpfreaks.com/topic/185438-delete-two-table/#findComment-978988 Share on other sites More sharing options...
mwasif Posted December 17, 2009 Share Posted December 17, 2009 Do you want to delete (drop) 2 tables in a single query or want to delete records from 2 tables in a single query? Quote Link to comment https://forums.phpfreaks.com/topic/185438-delete-two-table/#findComment-979431 Share on other sites More sharing options...
fenway Posted December 18, 2009 Share Posted December 18, 2009 Why bother? Quote Link to comment https://forums.phpfreaks.com/topic/185438-delete-two-table/#findComment-979585 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.