PDA

View Full Version : DB script Q..


gigiloumill
09-24-2010, 12:49 AM
Guys, I would like to know if it's possible to send info from a contact form straight to a database without sending to an e-mail as well and have the db script send to user to a specified url? I have a form sending to an e-mail and it has a db {include db script} which works fine and then the user goes to a forwarding page. I try including this on the script but it doesn't seem to work:

// Where to redirect after form is processed.
$url = 'http://test.com/test.html';

Thanks

edbr
09-24-2010, 02:12 AM
add
echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';

at the end of the script and it should redirect to the location you defined as $url

gigiloumill
09-25-2010, 02:06 AM
Thanks e...