hello
i have a php code, when i run it, a warning appears in the page
how can i remove warning messages? and ignore them
hello
i have a php code, when i run it, a warning appears in the page
how can i remove warning messages? and ignore them
You could suppress the warning using error_reporting but the much better way is to fix your script.
If you don't know how, edit your question and show us the line in question and the warning that is displayed.
You really should fix whatever's causing the warning, but you can control visibility of errors with error_reporting. To skip warning messages, you could use something like:
error_reporting(E_ERROR | E_PARSE);
You can also try to put a @ infront of your function.
... @yourFunctionHere(); ...