doctorcoldfusion
Programmer
DEAR FRIENDS,
My form is giving me syntax error insted of acknowleding the submission of form(No thank you reply)Please visit Advice please
_________________________________________________
<CENTER><H1>POORMANSVOICE</H1>
<font size=2 face="arial,helvetica">
<cfif IsDefined("form.name">
<cfquery datasource="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="
<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="">
My form is giving me syntax error insted of acknowleding the submission of form(No thank you reply)Please visit Advice please
_________________________________________________
<CENTER><H1>POORMANSVOICE</H1>
<font size=2 face="arial,helvetica">
<cfif IsDefined("form.name">
<cfquery datasource="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="
<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="">