jamiemcgarvey
12 Feb 2010, 10:25 AM
Hi, I'm relatively new to web programming and i'm completely new to these forums (hi).
I'm looking to be able to do something specific for an HTML page. What I want to be able to do is this:
- have 2 variables in the address bar on the browser
- be able to display the value of these variables throughout an HTML page
eg.
in address bar something like this www.website.com/page.htmlvar1="peanuts";var2=Butter"
On the webpage something like this
My favorite foods are: Peanuts and Butter
(the 'Peanuts' and 'butter' terms are called from the address bar).
If I change var1 and var2 it should be reflected in the text. If anyone could help me out or point me in the right direction, that would be amazing!
Thanks !
I'm looking to be able to do something specific for an HTML page. What I want to be able to do is this:
- have 2 variables in the address bar on the browser
- be able to display the value of these variables throughout an HTML page
eg.
in address bar something like this www.website.com/page.htmlvar1="peanuts";var2=Butter"
On the webpage something like this
My favorite foods are: Peanuts and Butter
(the 'Peanuts' and 'butter' terms are called from the address bar).
If I change var1 and var2 it should be reflected in the text. If anyone could help me out or point me in the right direction, that would be amazing!
Thanks !