Sorry if this double post is a problem I looked in the rules and dint see any thing and want to make sure this is seen.
While searching the web I fount some code and tided to modify it see if I can get it to do what I need
PHP Code:
<?php
if(isset($_GET["header"])) $header = $_GET["header"];
else $header = "Layout/header1";
switch $header;
{
case "h2" Layout/header2;
case "h3" Layout/header3;
case "h4" Layout/header4;
case "h5" Layout/header5;
default Layout/header1
}
?>
I seam to be getting an eror message when I try to execute it, does any one see what may be wrong?
Second I know this may sound stupid but how exactly would I select which case to use?
Bookmarks