Page 1 of 1

small loop question

Posted: Thu Apr 05, 2012 4:21 am
by red wolf

Code: Select all

<form enctype="multipart/form-data" method="post" action="image_upload">
<p>Choose File To Upload Here:</p>
<br />
<input name="uploaded_file" type="file" /> <br />
<input type="submit" value="upload it" /> <br />
</form> 
this is my code
i want to add small button on the end of the page ("plus").
I need function that by clicking this plus it will open more field for uploading file.
somebody have any ideas please?
upload multiply images

Re: small loop question

Posted: Thu Apr 05, 2012 5:29 am
by Celauran
Since PHP runs server side, you'll need to do this in JavaScript. Take a look at jQuery's append() function.

Re: small loop question

Posted: Thu Apr 05, 2012 6:29 am
by Celauran
sam88 wrote:HI,
you can use the PHP function of file "file_upload_move" for uploading the file into your data base.
Except that there's no such function and that wasn't the question.

Re: small loop question

Posted: Thu Apr 05, 2012 11:09 am
by pickle
Celauran wrote:
sam88 wrote:HI,
you can use the PHP function of file "file_upload_move" for uploading the file into your data base.
Except that there's no such function and that wasn't the question.
That was SPAM & has been dealt with.

Re: small loop question

Posted: Thu Apr 05, 2012 4:37 pm
by red wolf
Thanks a lot!