yandoo Posted February 14, 2008 Share Posted February 14, 2008 Hi all Is it possible to parse a parameter to another page like is done on a hyperlink but in a form?? Something like... a href="page4.php?recordID=<?php echo $row_test['ID']; ?>">continue</a> to something like.... $updateGoTo = "page5.php?recordID=<?php echo $row_testl['ID']; ?>"; if (isset($_SERVER['QUERY_STRING'])) { $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?"; $updateGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $updateGoTo)); Is that sort of thing dooable?? Thank You Link to comment https://forums.phpfreaks.com/topic/91152-parse-form-parameter-like-hyperlink/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.