I have a litte problem.
In my code I have to try, if this code works:
eval( "\$such_uID = array_intersect ($str);" );
if it doesn't works, this code should be done:
Code: Select all
how can I do this? The problem is, that I get a error back, when the first code doesn't work.
Is there in PHP somethin like try, catch?