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

pointer 102 question
I read a book
1
2
3
4
5
6
7
8
9
10
11
12
int main() {

Query failed issue with php script but works fine in mssql manager!
hi i have the script below which copies data from one table to another but will only insert new data

Output Full URL of Current Page
Let's say I am currently viewing a dynamic page:

http://www.mydomain.com/directory/index.php

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

Email Script does not reach destination
Hey Guys look at this code snippet :
Code:
//read a line from the file

$myFile = "

Opening Multiple Files/Links in Order.
I want to open links in order/one-by-one and check each for a specific string.

Example:
I

how to get different value in second view of webdynpro?
hello guys,

In ABAP webdynpro I am trying to create one application having two views.

Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

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