Howto: Insert html as webpage opens
-
tyuqte
- Posts: 40
- Joined: 14 Jun 11
- Location: China
- Trust:
12 Aug 11 10:15 am
Howto: Insert html as webpage opens
I have a website with a link to pages on the site in a table on the left of each page.
I started with 15 webpages and am now at 52. My problem:
Everytime the links change I have to change 50+ webpages - chee!! and it will continue to change and the number of pages I must change continues to grow.
Surely there is a way to have a table on a single web page that can be inserted to each page as it opens and then I would only have to change that page as the site grows???????
Can anyone help me?
I started with 15 webpages and am now at 52. My problem:
Everytime the links change I have to change 50+ webpages - chee!! and it will continue to change and the number of pages I must change continues to grow.
Surely there is a way to have a table on a single web page that can be inserted to each page as it opens and then I would only have to change that page as the site grows???????
Can anyone help me?
-
gradyp - Posts: 1006
- Joined: 28 Jun 09
- Location: United States
- Trust:
13 Aug 11 7:04 am
Not with HTML, but you can with PHP, though that's outside of Affilorama's support scope. Wordpress will do this for you.
Basically, what you have to do is save the table in a page by itself (no other HTML around it, just start with the table tag). Then you can use a PHP include to add it to your page. But you have to save as php files for it to work.
If you want to learn more about how to do this with PHP, including examples, check out W3Schools.com.
Basically, what you have to do is save the table in a page by itself (no other HTML around it, just start with the table tag). Then you can use a PHP include to add it to your page. But you have to save as php files for it to work.
If you want to learn more about how to do this with PHP, including examples, check out W3Schools.com.
Want to know how praise can help you get more visitors to your site? See what I'm trying! http://www.successbuildingblocks.com/what-are-you-grateful-for
-
jethro.aragon
- Posts: 67
- Joined: 11 Aug 11
- Location: Philippines
- Trust:
17 Aug 11 3:21 am
I agree, Wordpress will really make it all easier. But if you want to create your own site, learning PHP would really help. Try looking for some tutorials and for sure you'll find the codes there. But still, try considering WordPress. Cheers.
Jethro
Jethro
-Jethro-
"Knowledge is of no value unless you put it into practice.”
"Knowledge is of no value unless you put it into practice.”
-
esolutions
- Posts: 449
- Joined: 28 Apr 09
- Location: United States
- Trust:
17 Aug 11 10:55 pm
You can look into PHP includes (which will solve your problem), but Wordpress has it already done for you, so the best advice is to switch.
Two Free List Building Templates:
http://mattgreener.com/pro-templates-pack/?id=special
Hosting and Internet Marketing Tools:
http://InternetMarketerHost.com
http://mattgreener.com/pro-templates-pack/?id=special
Hosting and Internet Marketing Tools:
http://InternetMarketerHost.com
