Of course the old script wont work, didnt I tell you before that you need to worry about the variable scope issue? What is $username in your function? If you neither pass it as an argument to your function tab(), nor declare it as global variable, it will be considered an undefined variable.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
|