massive Posted June 1, 2006 Share Posted June 1, 2006 Hi, i have a question is there another way of getting your data from another page besides this:[code]if((!isset($_GET['id']) || trim($_GET['id']) == '')) { die('Missing record ID!'); } $id = $_GET['id'];[/code]thanks :) Link to comment https://forums.phpfreaks.com/topic/10932-getting-information/ Share on other sites More sharing options...
massive Posted June 1, 2006 Author Share Posted June 1, 2006 Follow up to my question...why im asking this is because i have trouble submitting my forms, i always receive "missing record Id" even though the datas where displayed correctly getting the information from the other page.Script1.php<include/class.php> //<<<---------i'm using classesif((!isset($_GET['id']) || trim($_GET['id']) == '')) { die('Missing record ID!'); } $id = $_GET['id'];<html>the data were displayed here coming from the other script</html>ok it displays perfectly now when i submit it:message: missing record id...i have trouble submitting my forms when it come to classes in a way when i include the:if((!isset($_GET['id']) || trim($_GET['id']) == '')) { die('Missing record ID!'); } $id = $_GET['id'];thing...tnxany ideas of getting data from other pages when it comes to object-oriented programming? Link to comment https://forums.phpfreaks.com/topic/10932-getting-information/#findComment-40820 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.