embeebutterly
12-11-2011, 04:58 PM
Hey all, i could really use some help in making life easier if any one can help.
Im gonna try my best and explain what i want but please excuse my lack of knowledge!
What i want to achieve is to use one page as a template that can take information from the url and use it to produce the result i want for example
if the template page is template.html ad it looked something like this:
<title> + title + </title>
</head>
<body>
<a href="http://www.mywebsite.com/ + folder + / + page +">Click Here</a>
</body>
</html>
The link to the page could look something like this:
template.html?folder=football&page=united.html&title=United Scores
this would result in the template page rendering as:
<title>United Scores</title>
</head>
<body>
<a href="http://www.mywebsite.com/football/united.html">Click Here</a>
</body>
</html>
If anyone can tell me how i can achieve this i would be extremely grateful.
Thanks :thumbsup:
Im gonna try my best and explain what i want but please excuse my lack of knowledge!
What i want to achieve is to use one page as a template that can take information from the url and use it to produce the result i want for example
if the template page is template.html ad it looked something like this:
<title> + title + </title>
</head>
<body>
<a href="http://www.mywebsite.com/ + folder + / + page +">Click Here</a>
</body>
</html>
The link to the page could look something like this:
template.html?folder=football&page=united.html&title=United Scores
this would result in the template page rendering as:
<title>United Scores</title>
</head>
<body>
<a href="http://www.mywebsite.com/football/united.html">Click Here</a>
</body>
</html>
If anyone can tell me how i can achieve this i would be extremely grateful.
Thanks :thumbsup: