Forum Moderators: coopster
I have a form when submitted, send me an email and inserts the information into a DB. If everything goes well, they are taken to a thanks page coded like this:
header("Location: thanks.html");
I would like to pass the db info over the URL also.
I thought this would work, but it is just taking me to the thanks page. Can Anyone see what I am doing wrong or if this is just not possible?
header("Location: http://www.example.com/cg/cg.php?fn=<?= $first?>&ln=<?= $last?>&ad=<?= $address?>&ad2=&ct=<?= $city?>&st=<?= $state?>&zp=<?= $zip?>&cn=US&em=<?= $email?>&ph=<?= $phone?>&dm=<?= $dm?>&dd=<?= $dd?>&dy=<?= $dy?>&y=0&d=000&url=http%3A%2F%2Fwww.example.com%2Fthanks.html");