jhaines Posted March 14, 2007 Posted March 14, 2007 I have a form that calls insert.php > after it inserts the record I want it to redirect to another page without having to log in again. This is my code that isn't working: $sqlquery = "INSERT INTO $table (firstname, lastname, co_name, awardsdinner) VALUES('$firstname', '$lastname', '$co_name', '$awardsdinner')"; $results = mysql_query($sqlquery); mysql_close(); tep_redirect(tep_href_link('sales_meeting_reg_02.php')); ?> Thanks in advance for your help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.