RE: [PHP] Branching blunder

2004-08-05 Thread Ford, Mike [LSS]
On 05 August 2004 15:15, Jay Blanchard wrote: > [snip] > if($ans_three[$qzid] === 'None of the above' || $ans_three[$qzid] === >'All of the above'){ if($ans_four[$qzid] === 'None of the above' > || $ans_four[$qzid] === 'All of the above'){ > $answers = rand(6,8); > >} >

RE: [PHP] Branching blunder

2004-08-05 Thread Alex Hogan
[snip] > Because $answers = 5; is the last check of $answers unless > the else statement is invoked. Try this... [/snip] That was it.., I don't know why I didn't see that. Thanks Jay. alex * The contents of