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:
<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

Simpler method of getting variables from mysql
Hi Guys,

I'm trying to streamline my CMS's code and as I was writing a new page it occured to

Dynamic Data + Sql Server 2005 Enterprise?
Hi! I have just started to learn ASP.NET, and it looks like it is quite a lot to learn. Im not reall

Saving data from a form into a file
Hey everybody,

Sorry, I am really new to PHP coding and such but a project kind of got thrust

Load Animated Image while cache is serve
I have a page that loads up using cache and took about 1 to 2 minutes before it loads to the page. <

Files in current folder. Should be an easy fix.
Never mind. I've asked about this before and just found my answer. Anyway to delete this?

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

Convert Binary String to Decimal
Trying to Get:
Decimal: 305419896

Out of:
Binary String: xV4

passing an array of objects after submit
How do I do this? This is what I have tried and it is not working.

<form method="

Nested (echoed) php running wrong script
Got a problem with a php website I'm creating.

In a nutshell, the first page is entirely html

for some reason mysql query not working, not inserting, please check it out
This code is not inserting anything into my db, don't know why, the $_SESSION variable does contain

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