usually done thru php query strings
<a href=index.php?theme=red>Click Here for Red Theme</a>
then in your php code...
PHP Code:
<?php
//get the theme from query string
$theme = $_GET['theme'];
//couldnt remember the syntax for style, it might be href=red.css
if ($theme == red) {
echo "<style type=text/css link=red.css>";
} else if ($theme ==blue) {
echo "<style type=text/css link=blue.css>";
} else {
echo "<style type=text/css link=red.css>";
}
//then all your page content
?>
quickly knocked up, and couldnt remember syntax for <style> but im sur eosmeone can clear it up.