error notification
what you have is not an error but a notice. the notice you get is that you are using a variable which you did not decalre var $var; there is no problems with notices but you may want to change it. you can do it in the following ways: 1. put error_reporting (E_ALL ^ E_NOTICE); at the begining of your code 2. change the setting for error reporting in your php.ini file. my guess is that you are using a microsoft version of php, where the error reporting is set by default to E_ALL . change it to : E_ALL ^ E_NOTICE matty