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

Problem with HTTP Caching...?
Hi there, im trying to implement caching. But it doesn't always work.
I post it here because ther

include problem
I have my root folder as:
Code: $root = $_SERVER["SITE_HTMLROOT"]; // the server root<

Session is not saving
I am not trying to do anything too fancy, I am just trying to get some $_SESSION data to save and us

returning data from an ssh2_exec()
here's what i got.


$conn = ssh2_connect($this->_host);
ssh2_auth_password($c

calendar dates and hours compare problem
i have a calendar in wordpress, everything works great except that i can make 2 meetings at the same

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

Get content from table into a list, without repeating.
Alright this is kinda an odd thing, so I need some help.

I have a table "quote" wit

PHP Thumbnail Creation
Ok so i use this function to create thumbnails:

Code: function createthumb($name,$filename,$n

Add 5 to a variable when a button is clicked, and re-run a for loop
So I'm making a feedback sort of section on a website with MySQL and PHP, I've gotten the script to

Batch Related Pricing
Hi, I need some clarity on the batch related pricing

For example the following are the b

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