View Single Post
  #2 (permalink)  
Old December 26th, 2007, 04:41 PM
harpua harpua is offline
Friend of Wrox
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts

This is a Notice, you can ask your hosting company to adjust the error_reporting to turn off the notices, then you will not get this message. I personally like to leave them on during development to help in the debugging. This lets you know if you have typos in the variables name and that variables are defined, as this is a good practice to get into.

I am not sure how you are defining $uname in your application but you could do something like this before calling your function.

if (!isset($uname)) { $uname = '' };

or while calling your function
function Enter_New_Entry($uname='',$pwd='',$dept='') {
Reply With Quote