How can i echo a h1 depending on the variable set on the page? The script below is breaking my page. Looks like my syntax is incorrect
if($page =="home_page") {echo "" 'Mountain ' "
"; }
else if($page =="parts") {echo "" 'parts ' "
"; }
else if($page =="cars") {echo "" 'cars ' "
"; }
?>
Many thanks,
P
No comments:
Post a Comment