AbydosGater Posted December 12, 2006 Share Posted December 12, 2006 Hey i was just wondering if there was any way to run 2 statments within the same query?as in a user updates account information but deletes information in another table all in the one form..I know it can be easily done by just running two mysql_query()'s which i am doing but i was wondering if there was a way to run an update and a delete or a select all in the one query?Thanks Link to comment https://forums.phpfreaks.com/topic/30371-any-way-to-run-two-querys-within-one-mysql_query/ Share on other sites More sharing options...
Jenk Posted December 12, 2006 Share Posted December 12, 2006 Not efficiently, no. Just use multiple calls to mysql_query(). Link to comment https://forums.phpfreaks.com/topic/30371-any-way-to-run-two-querys-within-one-mysql_query/#findComment-139745 Share on other sites More sharing options...
AbydosGater Posted December 12, 2006 Author Share Posted December 12, 2006 Ok thanks Link to comment https://forums.phpfreaks.com/topic/30371-any-way-to-run-two-querys-within-one-mysql_query/#findComment-139747 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.