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 Quote Link to comment Share on other sites More sharing options...
DarkWater Posted October 14, 2008 Share Posted October 14, 2008 for ($i=0;$i<$_GET['qty'];$i++) { } >_> Quote Link to comment Share on other sites More sharing options...
Canman2005 Posted October 14, 2008 Author Share Posted October 14, 2008 legend, thank you Quote Link to comment 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.