header("Location: ".$yourpage.php)

  ----- Original Message ----- 
  From: Brian E Boothe 
  To: [email protected] 
  Sent: Saturday, March 01, 2008 11:58 PM
  Subject: [php_mysql] redirect to thanks.php page


  > 
  how can i get a page to redirect to a thanks.php page once i submit my info
  i have
  $insertGoTo = "thanks.php";
  if (isset($_SERVER['QUERY_STRING'])) {
  $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
  $insertGoTo .= $_SERVER['QUERY_STRING'];
  }
  // Figure the redirection page out issue!!!!!
  // header(sprintf($insertGoTo));

  i just want after the submit button is pressed to redirect to a thank 
  u page: :)

  [Non-text portions of this message have been removed]



   

  __________ NOD32 2915 (20080303) Information __________

  This message was checked by NOD32 antivirus system.
  http://www.eset.com


[Non-text portions of this message have been removed]

Reply via email to