How would I get some text to display only if certain rows equal 1. I have a table and there are I have fields labeled 'SEC1', 'SEC2', and 'SEC3'. I can get it to display text for just one equaling to one, but I want something were the fields above have to equal one in order for the text to show.
Any help is appreciated
This is what I am using to get it to work for one:
$Completed = ($row["SEC1"] == 1) ? "Completed!" : $row[""]; echo $Completed;
Is it possible to modify that to get it to work? I'd be fine with having them added together to equal 3 instead of one.