Hello-
I have a table with 4 columns called workcat1, workcat2, etc. Whats the best way to write a Select from all the categories against one variable, in this case $ID.?Here's my code. Is there a better way to do this? Thanks
$query = mysql_query("select * from contractors where workcat1 = '$ID' or where workcat2 = '$ID' or where workcat3 = '$ID' or where workcat4 = '$ID' ");