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

Mouseover to edit (Ajax)
hi friends, can anyone help with the code behind to get this application working, please in VB (new

Perplexing problem showing a .jpg
Please disregard..........I figured it out

Passing JS to PHP
So I have the following
Code: <?php
getdetails(?><script type="text/

Calling strings from other php class
I have test1.php{
$string1;
$string2;
....
... //10 strings in this class <

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

ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because th

limitations on array_unique()
Does any one know what/how imitations are applied to array_unique? I have an issue where no matter h

Displaying a clickable playername
I am going wrong somewhere with the mysql_query, can someone please put me straight?

$playern

Mysterious Timeouts
I've deployed a few simple AJAX-enabled web page to a local server that is accessed through the Inte

php redirecting
i wont open a new thread but i have a question about redirecting....
i wonder why my code doesnt

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