Jump to content

Recommended Posts

Posted

Concept: I'm working on updating many pages on my website and I've been looking for a way to update certain parts of every file by using a type of database file.

What I've been thinking of is basically have a page that is like...

Settings for SpywareBlaster <?php echo $spywareblast; ?>

...and the <?php echo $spywareblast; ?> is automatically called from the intro line of the php file where it'd have "include_once ("/work/data.php")" or whatever.

Purpose: This will basically allow me to update version numbers and other information in one file only, while not needing to mess with the other pages.

I don't even know if this can be done, but I sure would love to try. I currently have some pages with simply text and no graphics. I'd like to offer another version to allow more detailed information. There'd be roughly 10 pages or so, and updating each one manually would be a pain.

I thought about using a MySQL database, but I know absolutely nothing about MySQL and figured this would be a bit safer.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...