View Single Post
  #10  
Old 08-11-2005, 12:48 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,961

change your code around a bit:

put
PHP Code:
<?php 
if( $email and $wn and $wurl and $wage 

//create the query// 
$sql="insert into affiliates (email, wn, wurl, wage) values ( $email, '$wn', '$wurl', '$wage')"
//EXECUTE THE QUERY// 
$rs $DB->Query$sql ); 
//confirm the added entry// 
if($rs

echo 
'Thank You For submiting Your Request we will be in contact with you.'

?>
after the first bit of code and then put exit; where you want it to stop the script, in your case after the thanks message.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote