Simple..Put a IF condition in for loop like ..
if Request.Form.It em(i)<>"" then
strMsgInfo = strMsgInfo & Request.Form.Ke y(i) & " - " & Request.Form.It em(i) & vbCrLf
End if
User Profile
Collapse
-
Put your <Select ..> Tag out side while loop. It should be like this..
<%
set con=server.crea teobject("adodb .connection")
set rs=server.creat eobject("adodb. recordset")
Con.Open "dsn=tshirt "
set rs=con.execute( "select * from table1")
if Not(rs.eof and rs.bof) Then
response.write "<select name="color">"...Leave a comment:
-
Have an include file at top of all files. Check for logged user ID in session variable and if not available, redirect him to login page.Leave a comment:
No activity results to display
Show More
Leave a comment: