On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote:
> On Sat, 2004-07-24 at 12:05, Robb Kerr 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']) {
>>
ECTED]>
Sent: Saturday, July 24, 2004 8:49 PM
Subject: Re: [PHP] Nested If...Else...
> On Sat, 24 Jul 2004 09:47:52 -0700 (PDT), Matthew Sims wrote:
>
> >> What's wrong with this syntax. I just can't see my mistake.
> >>
> >> if ($vBkgrndImage == "
On Sat, 24 Jul 2004 09:47:52 -0700 (PDT), Matthew Sims 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";
> 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 == "Ans
> 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";
> }
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") {
>
On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote:
> On Sat, 2004-07-24 at 12:05, Robb Kerr 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']) {
>>
On Sat, 24 Jul 2004 18:18:23 +0200, Marek Kilimajer wrote:
> Robb Kerr wrote:
>> On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote:
>>
>>
>>>On Sat, 2004-07-24 at 12:05, Robb Kerr wrote:
>>>
What's wrong with this syntax. I just can't see my mistake.
if ($vBkgrndImage == "Ans
Robb Kerr wrote:
On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote:
On Sat, 2004-07-24 at 12:05, Robb Kerr 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']) {
$vB
On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote:
> On Sat, 2004-07-24 at 12:05, Robb Kerr 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']) {
>>
On Sat, 2004-07-24 at 12:05, Robb Kerr 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 {
> $v
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
--
Ro
12 matches
Mail list logo