Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

PHP ELSEIF Parse Error. What is causing this?

0
Posted

PHP ELSEIF Parse Error. What is causing this?

0

You are very close. elseif ($gAve <=59 and >=0) should actually read elseif ($gAve <=59 and $gAve >=0) Note the reinsertion of the variable. Fix this in each of your elseif lines and you are all set. May also just be me, but I typically use echo instead of print… don’t need all those extra parentheses.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123