TweakAdmin
06-25-2006, 05:59 PM
I am making an image upload script for an image hosting site. I am having a problem with making the codes all display in the same box. I can get them to all display in seperate boxes, but I want all the codes to display like imagevenue.com does. Can anyone help me. I will post a copy of the script if needed.
emevas1977
06-25-2006, 06:03 PM
If you look at their form you will see what needs to be done, as far as the form is concerned.
<input name="userfile[]" type="file" />
userfile[] <- this will be an array when it is passed to your code. Not sure what programing language you are using, but basically you will have an array that you need to get the length of, and run a for loop.
TweakAdmin
06-25-2006, 06:20 PM
I am using php and I have called it to loop, but it still will not display it in one code box for each code. Say for instance 4 files are uploaded, it will display the bbcode for forums and all that jazz but it will display each files code in seperate boxes. I would like all the bb codes in one box, all the direct links in another and so on and so forth.