Can someone look on page 123 of beginning PHP4. In about the middle they
list 3 lines of code for the reader to figure out the meanings. On the
last one it shows :
OR !($month != "December")) echo ("Board meeting set")
now when the book gives the (supposed) answer, they say the board meeting
can take place if the other conditions are met and its NOT December. I'm
confused though because by my understanding The meeting HAS to be in
say its January instead :
$month != December --> TRUE
but the extra ! in front of the statement changes this to FALSE so the
board meeting is not set, whereas:
$month != December --> FALSE
and the additional ! makes it true so "Board meeting set" is printed.
This is giving me a headache people, can someone help me ?
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
You are currently subscribed to beginning_php as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-beginning_php-$subst('Recip.MemberIDChar')@p2p.wrox.com