View Single Post
Old 06-10-2008, 04:32 PM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by KlenTelaris View Post
php_flag display_errors off in htaccess works.I wonder is that only solution.
no, the other solution is to declare your variables before using them.
So, befre tht echo statement, write:
$cat = '';

and then your error will go away.

strict or not-so-strict. The choice is yours
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote