phphelp01 Posted December 17, 2008 Share Posted December 17, 2008 I created a php form that I would like to use multiple time in different pages. I want to have a specific information from the referer page to be inserted in a read only field in the php form without using submit. Example, I have a link from a.html, b.html, c.html, etc to the php form. each html will have a list of name and I want one of the field in the php form to show one of the name in the list. Is that possible and how do I do that? Any help with this will be great. Thanks. Link to comment https://forums.phpfreaks.com/topic/137450-solved-display-data-from-referer-page-in-php-form/ Share on other sites More sharing options...
twm Posted December 17, 2008 Share Posted December 17, 2008 you could store the values in session variables or cookies Link to comment https://forums.phpfreaks.com/topic/137450-solved-display-data-from-referer-page-in-php-form/#findComment-718315 Share on other sites More sharing options...
premiso Posted December 17, 2008 Share Posted December 17, 2008 A big note....you would have to rename a.html to a.php for it to work, due to the simple fact html is static. Link to comment https://forums.phpfreaks.com/topic/137450-solved-display-data-from-referer-page-in-php-form/#findComment-718319 Share on other sites More sharing options...
phphelp01 Posted December 17, 2008 Author Share Posted December 17, 2008 you could store the values in session variables or cookies I am new to php. How do I store the values? Any sample or link to tutorial that can help would be great. thanks Link to comment https://forums.phpfreaks.com/topic/137450-solved-display-data-from-referer-page-in-php-form/#findComment-718330 Share on other sites More sharing options...
twm Posted December 18, 2008 Share Posted December 18, 2008 http://www.phpriot.com/articles/multi-step-wizards Link to comment https://forums.phpfreaks.com/topic/137450-solved-display-data-from-referer-page-in-php-form/#findComment-718402 Share on other sites More sharing options...
phphelp01 Posted December 23, 2008 Author Share Posted December 23, 2008 http://www.phpriot.com/articles/multi-step-wizards Thanks. It was helpful. Link to comment https://forums.phpfreaks.com/topic/137450-solved-display-data-from-referer-page-in-php-form/#findComment-721980 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.