im using php to include background colors, so that users can change them, but i also need to know how to exclude them, or i need to know if it will automatically change once they hit the new page to include them i do this:
<?php include('background.php')
?>
First thing, you can include the file in PHP. But there is a way which can help you to solve your problem.
You can use same variable names in both files.
e.g.
Once you include first file i.e.
which has
Then if you may include second file may be
which has
This will replace the first variable value red with blue color.
So anyways this way your new background colors will be seen.