Jump to content

** T_IS_SMALLER_OR_EQUAL error **


bford21

Recommended Posts

Hey guys. I keep getting this error over and over and I cant figure out what it is. I'm sure its something simple but I just cant find it.

 

Here's the error:

Parse error: syntax error, unexpected T_IS_SMALLER_OR_EQUAL in /home/a5632090/public_html/member-profile.php on line 36

 

This is line 36:

if ($mem_food >50 && <=150) // 51 - 150
{
echo "<img src='Images/1.jpg' alt='Food' width='152' height='10' />";
}

 

If you need to see more code then let me know. Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/191694-t_is_smaller_or_equal-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.