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