|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: single quote problem |
From: |
nag |
Date: |
7/12/2000 8:21:46 AM |
IP: |
203.199.224.54 |
This is ur code:
<%
conn.execute "insert into tab1 (a,b) values ("&request.form("a")&","&request.form("b")&")"
%>
Soln:
replace single quote with double quote as follows :
<%
conn.execute "insert into tab1 (a,b) values ("&replace(request.form("a"),"","")&","&replace(request.form("b"),"","")&")"
%
Thats it! |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|