I did something and I am not sure what. I read another thread on here with the same error but could not spot it. I am getting the following error:
Parse error: syntax error, unexpected $end in /home/north/public_html/user-directory.php on line 232
The error is within this code (when I remove it, the error goes away):
<?php
if($filter || $filter2 || $menu )
while($row = mysql_fetch_array($res)) {
?> <br><br><br>
<tr>
<td align="left">
<b><?=$row[first_name] . ' ' . $row[last_name]?></b><br>
<?=$row[address]?><br>
<?=$row[city]?> <?=$row[state]?>, <?=$row[zipcode]?><br>
<?php
if($phone_home) {
echo '<b>Home:</b> ' . $phone_home . '<br />';
}
if($phone_work) {
echo '<b>Work:</b> ' . $phone_work . '<br />';
}
if($phone_cell) {
echo '<b>Cell:</b> ' . $phone_cell . '<br />';
}
if($email) {
echo '<b>Email:</b> ' . $email . '<br />';
}
?>
I removed the squiggly bracket in line 4...the error goes away...but no data displays. I should have backed up the page...uggghhh what was I thinking.
You have been so gracious...and I have been an idiot. Thank you so much for your help.