Help - Search - Members - Calendar
Full Version: how do sites update?
Forums > Resource Center > Webmasters' Corner > Resolved Topics
speakerboxx123
okay so i'll use this page as an example:
http://silentatmosphere.com/index.php

lets say she wants to add something like a link on the /index.php page how does she apply that change to EVERY single page she has on the site?
ForgiveTheSinner
php

it's very simple. theres a tutorial somewhere on this site.

here's the link

http://www.createblog.com/tutorials/tutorial.php?id=435
libertie
If you mean the sidebar, the author is probably using PHP includes to make the sidebar load on every page without having to edit each individual file. This is really not a very complicated process, but it does take a bit of explaining so I'll link you to a tutorial:

http://www.christopherjason.com/articles/using-php-includes/

Also, this is linked at the end of the article and is helpful as well:
http://www.w3schools.com/php/php_includes.asp

edit; I need to start refreshing when I get distracted before responding. xD
speakerboxx123
EDIT:// got it, nevermind, thanks all for the help :]

close please.
Melissa
You didn't include it the right way.

This is where your problem is:
CODE
<?PHP
$template="anthony-heartquasm";
include("/home/.kills/anthony_hq/anthony.heartquasm.org/cutenews/show_news.php");
?>


Try something like this:

CODE
<?php include("http://anthony.heartquasm.org/cutenews/shownews.php"); ?>


btw, thanks for linking me, but do you mind just using my first name? thanks.
speakerboxx123
CLOSE PLEASE
light-flash
wow. that helps me a lot! i didnt know you could do that. i have been updating every single page every time i added an affiliate or something else to my sidebar.
Insurmountable
lols closed and moved
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.