you would never want to store that info in a database...the extra query on each page would slow down (albeit marginally) your load times...
my recommendation would be to just define everything in something like vars.inc or config.inc like so:
PHP Code:
define('VAR1','Hello');
define('VAR2',' World!');
then include it on each of your site's pages and use the vars:
PHP Code:
<?php
include('/path/to/vars.inc');
echo VAR1.VAR2;
?>
i like to use define because then i don't accidentally assign a different value to a variable name on an individual page
Bookmarks