elementz Posted March 31, 2006 Share Posted March 31, 2006 How would I go about adding other input boxes in an upload script? example script would be awsome.Thankyou,Luke Quote Link to comment Share on other sites More sharing options...
Guest footballkid4 Posted April 1, 2006 Share Posted April 1, 2006 [!--html--][div class=\'htmltop\']HTML[/div][div class=\'htmlmain\'][!--html1--]<[color=blue]input type[/color]="[color=orange]file[/color]" name="[color=orange]upload[][/color]" /><[color=blue]input type[/color]="[color=orange]file[/color]" name="[color=orange]upload[][/color]" />[!--html2--][/div][!--html3--]The PHP:[code]<?phpif ( isset( $_FILES['upload'] ) ){ foreach ( $_FILES['upload'] as $key=>$val ) { //identical array keys as $_FILES['name'], but use $val instead }}?>[/code] Quote Link to comment Share on other sites More sharing options...
elementz Posted April 1, 2006 Author Share Posted April 1, 2006 I meant normal input boxes that you can write in, not upload ones and what will the variables come up as? Also how do I make the submit button an image?Thankyou,LukeI mean as in same variable as if the upload input box wasn't there. 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.