($DAO->get_num_rows() == 1) ? echo("is") : echo("are");
This dose not seem to be working for me,I get an error "Unexpected T_ECHO"
I have tried it with out the brackets around the conditional. Am I just not able to use a ternary operator in this way?
The $DAO->get_num_rows() returns an integer value.
Thanks