Is it possible to write the if syntax somewhere close to this:
if (function($value)) else {echo "Error Message";}
If function($value), nothing needs to happen. The function returns true, but if not, I need the Error Message and I cant put that Inside the function.
Any idea how to do this?