Mr Chris Posted March 17, 2009 Share Posted March 17, 2009 Hello, I was wondering if anyone could point me in th direction of a php script tutorial or website on the internet. What I want to do is simple: 1) User enters in a texbox how many 'browse' buttons they want 2) Hits submit 3)The number of browse buttons they requested shows on the screen Can anyone help? Thank you Link to comment https://forums.phpfreaks.com/topic/149804-solved-set-how-many-upload-fields/ Share on other sites More sharing options...
jackpf Posted March 17, 2009 Share Posted March 17, 2009 Well, if you get the number they want, you can just do something like this... <?php $number = ''; //whatever number they want, I don't know how you're getting it for($i = 0; $i <= $number; $i++) { echo '<input type="button" value="browse" /><br />'; } ?> Link to comment https://forums.phpfreaks.com/topic/149804-solved-set-how-many-upload-fields/#findComment-786659 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.