Menu
I cannot get the id to show in the url for a custom confirmation page.
I get this
[code=html]confirmation-membership.php?id=
[code=php]$sql=”
INSERT INTO membership
(id, fname, lname, email, firm, yoc, birthdate, hear, comments, mailing, payment)
VALUES
(”, ‘$_POST[fname]’, ‘$_POST[lname]’,’$_POST[email]’, ‘$_POST[firm]’,’$_POST[yoc]’,’$_POST[birthdate]’,’$_POST[hear]’,’$_POST[comments]’,’$_POST[mailing]’,’$_POST[payment]’)
“;
$result=mysql_query($sql,$connection) or die(“Couldn’t execute query: “.mysql_error());
if ($result)
{
$id=$_GET[‘id’];
header (“Location:confirmation-membership.php?id=$id”);
}