Hi, I want to compare 3 variables like so
if (($question1=='Black Rock Shooter Phone Strap') && ($question2=='Rena Matsui ????') && ($question3=='Manaka Takane ?? ??')) {
$answer="Yes";
} else {
$answer="No";
}
but it would always return No, it works fine with 1 or 2 variables in the IF statement but when I add the 3rd one it does not work.
I tried doing it this way as well
if (($question1=='Black Rock Shooter Phone Strap') && ($question2=='Rena Matsui ????')) {
if ($question3=='Manaka Takane ?? ??') {
$answer="Yes";
} else {
$answer="No";
}
} else {
$answer="No";
}
but still no luck.
Can someone help me out here?
Thank You so much Tasm I check and check and finally found out the problem $question=='Manaka Takane ?? ?? '; that LITTLE space after the last charected caused all the problem!
I will give you best answer when yahoo let me.
Thanks again.
if (($question1=='Black Rock Shooter Phone Strap') && ($question2=='Rena Matsui ????') && ($question3=='Manaka Takane ?? ??')) {
$answer="Yes";
} else {
$answer="No";
}
but it would always return No, it works fine with 1 or 2 variables in the IF statement but when I add the 3rd one it does not work.
I tried doing it this way as well
if (($question1=='Black Rock Shooter Phone Strap') && ($question2=='Rena Matsui ????')) {
if ($question3=='Manaka Takane ?? ??') {
$answer="Yes";
} else {
$answer="No";
}
} else {
$answer="No";
}
but still no luck.
Can someone help me out here?
Thank You so much Tasm I check and check and finally found out the problem $question=='Manaka Takane ?? ?? '; that LITTLE space after the last charected caused all the problem!
I will give you best answer when yahoo let me.
Thanks again.