Explanatory Instruction Incorrect

  • Steven
  • Steven's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #1 by Steven
Explanatory Instruction Incorrect was created by Steven
On the explanatory text instructions it says:

[answer>1][answer<5]This text will only show if the answer is between 2 and 4.[/answer][/answer]


I could not get that to work when I tried [answer>3][answer<3] to get anything but 3.

The instructions do not say, but I found that [answer<>3] works fine.

Please Log in or Create an account to join the conversation.

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
2 years 1 month ago #2 by Christopher Mavros
Replied by Christopher Mavros on topic Explanatory Instruction Incorrect
Hi again Steven.

Well, I couldn't have written that documentation, because I didn't know PHP evaluated <> correctly.
I guess we always learn!

Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros