I'm going through a tutorial to get a better feel of php since Drupal is based off of it and because I have been interested for a long time anyway.
In the tutorial on a quiz question, I got a wrong answer for using "or" instead of "||".
Can anyone explain where "||" would work but "or" would not?
My initial thought is they boyh work the same but the quiz was just set for one specific answer.
Sorry for the quotation marks instead of just using tgml to make bold instead. I'm typing from my phone.
Thanks for any help
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57
In the tutorial on a quiz question, I got a wrong answer for using "or" instead of "||".
Can anyone explain where "||" would work but "or" would not?
My initial thought is they boyh work the same but the quiz was just set for one specific answer.
Sorry for the quotation marks instead of just using tgml to make bold instead. I'm typing from my phone.
Thanks for any help
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57