Quote:
Originally Posted by KlenTelaris
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