Best Practices? Passing variables from php page to php page.
Hi everyone! First post. Absolute beginner. Have most Sitepoint books.
I'm still not clear on what the best practices is on transferring data from page to page to page. I have a simple form with Name Title1 Title2..., Phone 1, Phone 2,... Email, etc., about 12 variables in all. As the user progresses from page to page, I find myself sending data by using:
header('Location: bctemplstandardproof.php?Name='.$Name.'?Title1='.$Title1.'?Title2='.$Title2.'?Title3='.$Title3.'?Title4='.$Title4.'?Email='.$Email.'?Phone1='.$Phone1.'?Phone2='.$Phone2.'?Phone3='.$Phone3.'?Phone4='.$Phone4.'?MailStop='.$Mailstop.'?po='.$po); or
<a href="bctemplstandard.php?po=<?php echo $po;?>"><img src="images/MoffittStandardExampleTitleBC.png"</a>
I'm not sure this is best practice. COOKIES and SESSIONS may be too advanced for me, and may be overkill. Any thoughts? Thanks in advance...