error reporting problems |
[eluser]taschentuch[/eluser]
hi, how can i disable this error: Quote:A PHP Error was encountered my code: Code: function usergroup($user_id) i want only the show_error if the argument is missing and not the CI error thx
[eluser]taschentuch[/eluser]
hm yes but this error is produced before my code checks the argument... edit: solved Code: function usergroup($user_id = "FALSE")
[eluser]khagendra[/eluser]
Your code is Code: function usergroup($user_id) I think you are not passing argument for usergroup($user_id) function, that's y there is missing argument 1 warning. Pass the argument it will work.
[eluser]taschentuch[/eluser]
yes i want only show a error if someone forget a ID on this link ... http://host/index.php/Users/usergroup/1 but if someone goes to http://host/index.php/Users/usergroup/ got he the error but it works now with my code ^^ thx |
Welcome Guest, Not a member yet? Register Sign In |