I'm almost positive that its possible without using two if statments...
psudo code:
if variable is equal to 'foo' or 'bar'
I've tried :
if ($var == 'foo' || 'bar')
and the same goes for this;
psude code:
if variable is true, and another_variable is true
I've tried
if ($var_1 == 'foo' AND $var_2 == 'bar')
but I cant get it to work for the life of me... Is there a way to avoid using hidiously messy double if's;
if ($foo == 'bar') { if ($bar == 'foo') {
Any help would be massivly appreciatve...
Did you know too, the textbox while posting in firefox is only about 30 columns wide, or so? It looks hideous, makes posting longer messages quite problematic.