warning suppression
Posted: Wed Apr 01, 2009 12:23 am
hi all,
i've a question here. could you people help me in knowing about how should i suppress warning messages in my php code.i know that it can be done by playing around with php.ini file and just turning off those warning messages there but that is not the issue here as i dont want to do this because in that case it will affect all my running projects.it's just that i want to suppress warnings in only a part of the code and not the whole project, so something like @ can help. but @ is not helping either. any suggestions???
thank and regards,
Miyur
i've a question here. could you people help me in knowing about how should i suppress warning messages in my php code.i know that it can be done by playing around with php.ini file and just turning off those warning messages there but that is not the issue here as i dont want to do this because in that case it will affect all my running projects.it's just that i want to suppress warnings in only a part of the code and not the whole project, so something like @ can help. but @ is not helping either. any suggestions???
thank and regards,
Miyur