Hi all,
I have a very basic if statement, but I am receiving the error:
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /path/to/file/jobenquire.php on line 112
However, I can't see anything wrong with the statement. There doesn't appear to be an extra } or anything. Can anyone tell me what I am overlooking?
PHP Code:
<?php
if (!empty($row['hours'])) {
echo $row['hours'];
} else { // This is line 112
echo "Not Supplied"
}
?>
Many thanks,
Greens85