Canman2005 Posted October 14, 2008 Share Posted October 14, 2008 Hi all How can I get a query to repeat based on a $_GET['qty'] value from a php form, so if the $_GET['qty'] equals 10, then it would repeat an insert query 10 times Thanks Link to comment https://forums.phpfreaks.com/topic/128421-solved-repeating-query-based-on-quantity/ Share on other sites More sharing options...
DarkWater Posted October 14, 2008 Share Posted October 14, 2008 for ($i=0;$i<$_GET['qty'];$i++) { } >_> Link to comment https://forums.phpfreaks.com/topic/128421-solved-repeating-query-based-on-quantity/#findComment-665426 Share on other sites More sharing options...
Canman2005 Posted October 14, 2008 Author Share Posted October 14, 2008 legend, thank you Link to comment https://forums.phpfreaks.com/topic/128421-solved-repeating-query-based-on-quantity/#findComment-665489 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.