PHP Code:
if(Condition1)
if(Condition2)
if(Condition3)
if(Condiition4)
if(Condition5)
{
buyvalue=1;
}
This is the most economical and fastest way to write multiconditional tests.
It's the fastest because if condition1 is not filled, condition 2, 3, ... are not evaluated, which is not the case if you put "&&" operator between them.
So begin with the most likely unfrequent condition.
So this will undoubtfully work.
Now, as you are often asking if something will work, the best is to try, its a good way to learn too.
Cheers.