if I receive value from $_GET, can i POST it back to...
Posted: Thu Sep 23, 2004 1:26 pm
if I receive variable from $_GET, can i POST it back to same php page for further processing?
1) I send ?ref=1 to page 2
2) display some stuff based on $_GET['ref'] in page 2
3) on submission of form back to page 2 for processing, I seem to lose $_GET['ref']
I thought I could make it persistant to the page by making it an INPUT TYPE=hidden variable in HTML, but that didn't work.
What am I missing here?
1) I send ?ref=1 to page 2
2) display some stuff based on $_GET['ref'] in page 2
3) on submission of form back to page 2 for processing, I seem to lose $_GET['ref']
I thought I could make it persistant to the page by making it an INPUT TYPE=hidden variable in HTML, but that didn't work.
What am I missing here?