doctorcoldfusion
Programmer
Dear friends,
I submit form created in coldfusion and the contents of form get submitted in access database but I dont get "than you reply".Please visit and submit the form.Once submitted it doesnt give any thank you reply.
Advice please.
Below is the code
-----------------------------------------------------------
<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="">
I submit form created in coldfusion and the contents of form get submitted in access database but I dont get "than you reply".Please visit and submit the form.Once submitted it doesnt give any thank you reply.
Advice please.
Below is the code
-----------------------------------------------------------
<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="">