hi i am having one form in that input fields are regno,name,date of birth etc with this input fields i need to attach image along with this input fields how i can do using php/javascript can anyone help me out thanks in advance
+1
A:
Have a look at this link. It explains the basics.
The most important things is putting the right enctype on the form like this:
<form enctype="multipart/form-data" action="uploader.php" method="POST">
and then put a file input in the form:
<input name="uploadedfile" type="file" />
The php side is explained at the link
Ikke
2009-11-23 09:27:30
how i can write the code for only image uploading using php
Lavanya ks
2009-11-23 09:48:38
+1
A:
<form action="" method="post" enctype="multipart/form-data">
<input type="file" id="myfile" name="myfile" value=""/>
</form>
dfilkovi
2009-11-23 09:27:40