There is no if
statement to match the else
. Either add an if
for when there are tickets, or just change the else
into an if
that evaluates to true
when there aren't tickets.
For example:
<?if ( mysql_num_rows($msg) == 0 ) {?>
<tr>
<td style="background:#f7f7f7;">There are no tickets submitted yet.</td>
</tr>
<?}?>