bford21 Posted February 10, 2010 Share Posted February 10, 2010 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 More sharing options...
sader Posted February 10, 2010 Share Posted February 10, 2010 if ($mem_food >50 && $mem_food <=150) Link to comment https://forums.phpfreaks.com/topic/191694-t_is_smaller_or_equal-error/#findComment-1010410 Share on other sites More sharing options...
bford21 Posted February 10, 2010 Author Share Posted February 10, 2010 yes! Thank you. See, I knew it would be something simple. Shows what 10 hours coding does to you. Link to comment https://forums.phpfreaks.com/topic/191694-t_is_smaller_or_equal-error/#findComment-1010418 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.