imimin Posted July 4, 2009 Share Posted July 4, 2009 Could someone please explain to me how to pass the id through a url so on the "receiving" page I can echo the data in the field of the id ? Thank you! Link to comment https://forums.phpfreaks.com/topic/164718-help-with-passing-id-and-field-info/ Share on other sites More sharing options...
dezkit Posted July 4, 2009 Share Posted July 4, 2009 What? Can you show us some code or something please. Link to comment https://forums.phpfreaks.com/topic/164718-help-with-passing-id-and-field-info/#findComment-868644 Share on other sites More sharing options...
The Eagle Posted July 4, 2009 Share Posted July 4, 2009 You may want to use a POST method with the $id tags Such as, $id=$_POST['id']; Link to comment https://forums.phpfreaks.com/topic/164718-help-with-passing-id-and-field-info/#findComment-868648 Share on other sites More sharing options...
imimin Posted July 7, 2009 Author Share Posted July 7, 2009 What? Can you show us some code or something please. Something like this: <a href="page.php?id=123">Link</a> <?php // page.php echo $_GET["id"]; // 123 [/code] But I don't really get it, would this not just point to the row? How would I specify the field? Link to comment https://forums.phpfreaks.com/topic/164718-help-with-passing-id-and-field-info/#findComment-870648 Share on other sites More sharing options...
p2grace Posted July 7, 2009 Share Posted July 7, 2009 You would use that id to parse a mysql data table, then echo out the results of the query. Link to comment https://forums.phpfreaks.com/topic/164718-help-with-passing-id-and-field-info/#findComment-870656 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.