Keep Getting Parse Error: Parse Error
Posted: Sat Mar 06, 2010 12:13 am
Hey everyone,
If you guys could help me that would be awesome. I have more code than this but this is where it is giving me the error:
Thanks in advance for your help
If you guys could help me that would be awesome. I have more code than this but this is where it is giving me the error:
Code: Select all
foreach ($menu_items as $item){
if ($item['id'] == $id){
menu .= "<li class='current'>"; //says error is on this line
}else {
menu .= "<li>";
}
}