homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Send link value to field

 8:18 pm on Nov 13, 2012 (gmt 0)


I have a page that has a list of links on it, these links all go to the same 'next' page that has a form on it. What I need is for the value in (for instance) link 3 to be added as the input in the first field in the form that is on the page the user is sent to.

Thanks to anyone for help.




 8:50 pm on Nov 13, 2012 (gmt 0)

You could alter the next url with an added value, e.g.
Then $_REQUEST the url from there, make it a variable, and then include the variable in the value of the field.

If you want to make it dynamic however, then you will need to explode the link, and create a variable from there, that will be inserted into the destination url value.


 9:26 pm on Nov 13, 2012 (gmt 0)

Was just thinking, that if you didn't want to affect the urls, then you could create them as session variables.


 1:10 am on Nov 15, 2012 (gmt 0)

Are you trying to do this without modifying the destination pages?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved