View Single Post
Old 06-06-2009, 07:53 AM   #3 (permalink)
captainmerton
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 178
Thanks: 9
captainmerton is on a distinguished road
Default

Hi thanks for getting back to me. I've declared $username as public in TableWriter but not sure what you mean "You're just using $username in writeTable, a local variable which is not defined anywhere" - i still cant get this to work. Something about the way i am declaring and trying to use $username. Even if i try and print it out in the construct method after i've assigned it a value i still always get "Notice: Undefined variable: username".
captainmerton is offline  
Reply With Quote