Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']'

Joined
May 1, 2016
Messages
1
Reaction score
0
Here is the code:

It's making me blind. Can someone help me please? I see one single quote. But I don't know where to add the other one.

<li class="<?php echo ($_SESSION[" m="" ]="=" 'home="" ?="" active="" :="" )="">"&gt; <a href="index.php">Home</a></li>
<li class="<?php echo ($_SESSION[" m="" ]="=" 'bio="" ?="" current="" :="" )="">"&gt; <a href="bio.php">Bio</a> </li>
<li class="<?php echo ($_SESSION[" m="" ]="=" 'appointment="" ?="" current="" :="" )="">"&gt; <a href="appointment.php">Appointment</a> </li>
<li class="<?php echo ($_SESSION[" m="" ]="=" 'services="" ?="" current="" :="" )="">"&gt; <a href="services.php">Services</a> </li>
<li class="<?php echo ($_SESSION[" m="" ]="=" 'gallery="" ?="" current="" :="" )="">"&gt; <a href="gallery.php">Gallery</a> </li>
<li class="<?php echo ($_SESSION[" m="" ]="=" 'promotions="" ?="" current="" :="" )="">"&gt; <a href="promotions.php">Promotions</a> </li>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,831
Latest member
HealthSmartketoReviews

Latest Threads

Top