Upload file!


Posted on 16th Feb 2014 07:03 pm by admin

Ok i have a form..
Code: <form name="form1" method="post" action="">

<p>Name:
Did you know?Explore Trending and Topic pages for more stories like this.
<input name="Name" type="text" maxlength="20">
<br />
<br />
Email:
<input name="Name" type="text" maxlength="20">
<br />
<br />
Event:
<input name="Name" type="text" maxlength="20">
<br />
<br />
Venue:
<input name="Name" type="text" maxlength="20">
</p>
<p>&nbsp;</p>
<p>
<label>
<input type="submit" name="submit" id="submit" value="Submit">
</label>
<br />
<br />
</p>
I want to have the option for users to upload a file (its an entry form to a compertition) but i wanted to know if i could add it to the current form so the same submit button is used. But i also want the form to be optional so if the dont have a file to upload they can still enter the data. Is this possible and if so how?
No comments posted yet

Your Answer:

Login to answer
284 Like 22 Dislike
Previous forums Next forums
Other forums

I face problems to extract data from one table and insert it in another one
Hi,

For modifications, I have to extract data from one table and insert it in another one

PEAR Email Attachment w/ $gpg
I have no issues with this code if I take out the attachement section and include the info in the em

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

Execure stored procedure on a timer
Can someone tell me an easier way to execute a stored procedure on a timer? I am using Oracle 10g R

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

Dynamically set AccordianPane Header
I have an accordian on my master page. I'd like to be able to dynamically change the header on diff

DateTimeZone::listIdentifiers headache
http://php.net/manual/en/datetimezone.listidentifiers.php


So the documentation states tha

Code Review - SQL and Insertion Attacks (Warning: Not for Newbs)
Hey guys,

Its been a while, I know. Use to love coming here to answer peoples questions, but

Inserting multiple records from single form
I've found a number of threads that deal with this issue, but I'm new to php and coding language so

File upload issues
Hi Guys,

Can anyone see any issues with this code:
Code: $setImage= 'productimages/' . dat

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash