I'm wanting to display a general error message if there are any errors in the validation_errors()
array, but if I do something like
if(isset(validation_errors())) { echo 'error'; }
then it returns back and says:
Fatal error: Can't use function return value in write context
Any help would be grand.