runnerjp Posted October 22, 2008 Share Posted October 22, 2008 ok im collecting my message id <form action="index.php?page=reply&id=<? echo $id ?>" method="post" name="quote"> <input name="quote" type="hidden" value="<? $getreplies3['postid'];?>" /> <input name="quote" type="submit" value="Quote" /> </form> the on the reply page im trying to echo the postid (this is just the testing stage) <textarea value="<?php if(isset($_POST['quote'])) { echo $_POST['quote']; }?>" id="inputforum" class="inputforum" name='yourpost' rows='5' cols='40'></textarea> but its not working :S Quote Link to comment https://forums.phpfreaks.com/topic/129605-solved-grabbing-data-from-next-page-via-form/ Share on other sites More sharing options...
JonnoTheDev Posted October 22, 2008 Share Posted October 22, 2008 You have 2 input fields both named 'quote' aswell as the form name! Quote Link to comment https://forums.phpfreaks.com/topic/129605-solved-grabbing-data-from-next-page-via-form/#findComment-671908 Share on other sites More sharing options...
runnerjp Posted October 22, 2008 Author Share Posted October 22, 2008 thanks chnaged that and echoed out the value which i forgot = value="<? echo $getreplies3['postid'];?>" /> it will echo on the page but not within the textbox how comes?? Quote Link to comment https://forums.phpfreaks.com/topic/129605-solved-grabbing-data-from-next-page-via-form/#findComment-671915 Share on other sites More sharing options...
runnerjp Posted October 22, 2008 Author Share Posted October 22, 2008 sorry guys just wanna test test Quote Link to comment https://forums.phpfreaks.com/topic/129605-solved-grabbing-data-from-next-page-via-form/#findComment-671936 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.