Do not use components to implement multiple pictures and text data to the database at the same time (3)

Source: Internet
Author: User
Tags implement reset
Data | A form instance in which the database sends data:
......
<form name= "Newinfo" method= "POST" action= "add.asp"
Enctype= "Multipart/form-data" onsubmit= "return Check ()" >
<center>
<table border= "1" cellpadding= "3" cellspacing= "0" style= "Border-collapse:
Collapse "bordercolor=" #111111 "width=" >
<tr>
&LT;TD width= "align=" "Right" bgcolor= "#003399" ><font color= "#FFFF00" >
Chinese name </font></td>
&LT;TD width= "391" bgcolor= "#D4D4D4" >
<p><input type= "text" name= "pname" size= "></p>"

</td>
</tr>
<tr>
&LT;TD width= "align=" "Right" bgcolor= "#003399" ><font color= "#FFFF00" >
English name </font></td>
&LT;TD width= "391" bgcolor= "#D4D4D4" >
<input type= "text" name= "pname1" size= "></td>"
</tr>
<tr>
&LT;TD width= "align=" "Right" bgcolor= "#003399" ><font color= "#FFFF00" >
Category </font></td>
&LT;TD width= "391" bgcolor= "#D4D4D4" ><select size= "1" name= "PType" >
<option selected value= "1" >t/c cotton </option>
<option value= "2" > Water soluble Class </option>
<option value= "3" > Net fabric </option>
<option value= "4" > Brightness </option>
<option value= "5" > Wedding category </option>
</select></td>
</tr>
<tr>
&LT;TD width= "align=" "Right" bgcolor= "#003399" ><font color= "#FFFF00" >
Gongs Pictures </font></td>
&LT;TD width= "391" bgcolor= "#D4D4D4" >
<input type= "File" Name= "Img1" size= "></td>"
</tr>
<tr>
&LT;TD width= "align=" "Right" bgcolor= "#003399" ><font color= "#FFFF00" >
Full size picture </font></td>
&LT;TD width= "391" bgcolor= "#D4D4D4" >
<input type= "File" Name= "Img2" size= "></td>"
</tr>
<tr>
&LT;TD width= "align=" "Right" bgcolor= "#003399" > </td>
&LT;TD width= "391" bgcolor= "#D4D4D4" > <input type= "Submit" value= "
Pay "name=" B1 ">
<input type= "reset" value= "reset" name= "B2" ></td>
</tr>
</table>
</center>
</form>
......



Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.