A
Anonymous
Guest
Hi!
I have a litte problem.
In my code I have to try, if this code works:
if it doesn't works, this code should be done:
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?
Thank you!
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:
eval("\$such_uID =\"$str\";");
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?
Thank you!