I have a form in an HTML doc. I send it to my Perl script. The perl script then sends it to my mySql database. I then want to redirect the user to another HTML page. Yet, I can't seem to get it to work. Any ideas?
Thank you for your help.
Thank you for your help.
Code:
if ($rows > 0)
{print redirect(-location=>'[URL unfurl="true"]http://matrix.csis.pace.edu/~s04-it604-s13/Project/thanks.html');}[/URL]
else {print "<h2>Error: INSERT query failed.</h2>";
print "<a href=\"javascript:history.go(-1)\"><h2>Return to Previous Page</h2></a>";}
print "</body></html>";