Hello,
I'm using the following code which works fine:-
if($Text_Box_2 == '0x0x0x0')
{
$query2=("INSERT INTO query_results2 (Location1, Average_Income) VALUES ('$Text_Box_1', '$area_1')");
}
My problem is I need to run similar if statements on $Text_Box_3 and $Text_Box_4 and $Text_Box_5 and $Text_Box_6 and $Text_Box_7 and $Text_Box_8 to see whether any of these text boxes are == '0x0x0x0'.
Is there an elegant way to do this in a one line statement?
Thank you very much for your guidance.