($DAO->get_num_rows() == 1) ? echo(\"is\") : echo(\"are\");
This dose not seem to be working for me as intended, I get an error \"Unexpected T_E
U can use
echo ($DAO->get_num_rows() == 1) ? "is" : "are";