jigsawsoul Posted August 9, 2009 Share Posted August 9, 2009 hey thanks for all the help first off, this a easy question for you guys i know but i thought it was right bu its not working, this this the right way to write this? as its not work but no errors just don't carry the id. $eventid = $row['event_id']; $form .= ' <div id="form_accountinfo" class="mb"> <form action="buy2.php?id='.$eventid.'" method="post"> Link to comment https://forums.phpfreaks.com/topic/169454-solved-easy-question-i-just-unsure/ Share on other sites More sharing options...
Daniel0 Posted August 9, 2009 Share Posted August 9, 2009 Have you checked that $eventid contains the correct value? Link to comment https://forums.phpfreaks.com/topic/169454-solved-easy-question-i-just-unsure/#findComment-894041 Share on other sites More sharing options...
br3nn4n Posted August 9, 2009 Share Posted August 9, 2009 I know you mentioned no errors being reported but is error reporting turned on? Link to comment https://forums.phpfreaks.com/topic/169454-solved-easy-question-i-just-unsure/#findComment-894046 Share on other sites More sharing options...
jigsawsoul Posted August 9, 2009 Author Share Posted August 9, 2009 yeah errors are turn on, as it always coming up with errors unless it works, yeah i have done echo $eventid exit; and it displays the id just fine. so isit writte right or just a weird problem ? Link to comment https://forums.phpfreaks.com/topic/169454-solved-easy-question-i-just-unsure/#findComment-894058 Share on other sites More sharing options...
bundyxc Posted August 9, 2009 Share Posted August 9, 2009 $eventid = $row['event_id']; $form .= ' <div id="form_accountinfo" class="mb"> <form action="buy2.php?id=' . $eventid . '" method="post">'; Hmm.. that's all I can get. Can you post more relevant code if that doesn't work? Link to comment https://forums.phpfreaks.com/topic/169454-solved-easy-question-i-just-unsure/#findComment-894064 Share on other sites More sharing options...
br3nn4n Posted August 9, 2009 Share Posted August 9, 2009 Are you saying that when you look at the HTML output, the form action doesn't show like this: <form action="buy2.php?id=(somenumber)"> with (somenumber) being the id? IE: is it like so: <form action="buy2.php?id="> Link to comment https://forums.phpfreaks.com/topic/169454-solved-easy-question-i-just-unsure/#findComment-894066 Share on other sites More sharing options...
jigsawsoul Posted August 9, 2009 Author Share Posted August 9, 2009 thanks guys but i got it to work now thanks alot Link to comment https://forums.phpfreaks.com/topic/169454-solved-easy-question-i-just-unsure/#findComment-894070 Share on other sites More sharing options...
bundyxc Posted September 4, 2009 Share Posted September 4, 2009 Hmm.. that was anticlimactic. :l Link to comment https://forums.phpfreaks.com/topic/169454-solved-easy-question-i-just-unsure/#findComment-912781 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.