Quick PHP question
Quick PHP question
Out of context: Reply #5
- Started
- Last post
- 25 Responses
- JamesBoynton0
< ? php $ mainmenu="Ladbroke"; ? >
< ? php $ submenu="Recent Projects"; ? >
<html>
<head><?php if ($mainmenu=="Ladbroke")
echo " id=\"currentpage\""; ?><?php if ($submenu=="Recent Projects")
echo " id=\"currentpage\""; ?>- It would be a class you echo if its to be more than once on the pageJamesBoynton