doctorcoldfusion
Programmer
I AM GETTING QUERY ERROR.CAN ANY ONE CORRECT THE SAME FOR ME PLEASE.CODE IS BELOW
<CENTER><H1>POORMANSVOICE<BR>
<a href="mailto:" style="position:relative; width:275; filter:glow(color=#0000FF,Strength=1)"><font color="#000000">Poormansvoice@aol.com</font></a>
</h1><font size=2 face="arial,helvetica">
<cfif IsDefined("form.name">
<cfquery DATASOURCE="poorman" NAME="POORMAN">
Insert into info (name,address,city,state,zip,phone,email,comments)
VALUES (
'#form.name#','#form.address#','#form.city#','#form.state#','#form.zip#','#form.phone#','#form.email#','#form.comments#')
</cfquery>
<cflocation url="
<div align="center">Thank you. Your form has been submitted.></div>
<cfelse>
<form action="index.cfm" method="post">
<table>
<tr><td><font size=2 face="arial,helvetica"><html>
</head>
<body bgcolor="#0000FF"><CENTER><h1>You want to serve Kashmiris<br> Fill the form please</h1><br><br color=#04jjjj>
NAME<br><input type="text" name="name" value=""><BR>
Address<br><input type="text" name="address" value=""><BR>
City<br><input type="text" name="city" value=""><BR>
State<br><input type="text" name="state" value=""><BR>
Zip<br><br><input type="text" name="zip" value=""><BR>
Phone<br><input type="text" name="phone" value=""><BR>
email<br><input type="text" name="email" value=""><BR>
<center><h3>Comments,Affiliation and Profile</h3><br>
<textarea name="comments" rows="" cols=""></textarea><br>
<input type="submit"><br><input type="reset"><br>
</CENTER></body>
</html>
</CFIF>
<CENTER><H1>POORMANSVOICE<BR>
<a href="mailto:" style="position:relative; width:275; filter:glow(color=#0000FF,Strength=1)"><font color="#000000">Poormansvoice@aol.com</font></a>
</h1><font size=2 face="arial,helvetica">
<cfif IsDefined("form.name">
<cfquery DATASOURCE="poorman" NAME="POORMAN">
Insert into info (name,address,city,state,zip,phone,email,comments)
VALUES (
'#form.name#','#form.address#','#form.city#','#form.state#','#form.zip#','#form.phone#','#form.email#','#form.comments#')
</cfquery>
<cflocation url="
<div align="center">Thank you. Your form has been submitted.></div>
<cfelse>
<form action="index.cfm" method="post">
<table>
<tr><td><font size=2 face="arial,helvetica"><html>
</head>
<body bgcolor="#0000FF"><CENTER><h1>You want to serve Kashmiris<br> Fill the form please</h1><br><br color=#04jjjj>
NAME<br><input type="text" name="name" value=""><BR>
Address<br><input type="text" name="address" value=""><BR>
City<br><input type="text" name="city" value=""><BR>
State<br><input type="text" name="state" value=""><BR>
Zip<br><br><input type="text" name="zip" value=""><BR>
Phone<br><input type="text" name="phone" value=""><BR>
email<br><input type="text" name="email" value=""><BR>
<center><h3>Comments,Affiliation and Profile</h3><br>
<textarea name="comments" rows="" cols=""></textarea><br>
<input type="submit"><br><input type="reset"><br>
</CENTER></body>
</html>
</CFIF>