print out all the values of the vars your comparing.... often youll find one of them is not what your expecting
Jason On Sat, 24 Jul 2004 11:05:06 -0500, Robb Kerr <[EMAIL PROTECTED]> wrote: > What's wrong with this syntax. I just can't see my mistake. > > if ($vBkgrndImage == "AnswerPage") { > if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) { > $vBkgrndImage = "Bkgrnd-Body-Incorrect.jpg"; > } else { > $vBkgrndImage = "Bkgrnd-Body-Correct.jpg"; > } > } > > Thanx > -- > Robb Kerr > Digital IGUANA > Helping Digital Artists Achieve their Dreams > ---------------------------------------------------- > http://www.digitaliguana.com > http://www.cancerreallysucks.org > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php