03-21-2011, 09:27 PM
My objective is to create a object.suppose i wnt to create a database connection.now i m not going to create database connection every time .so i create one and used it whrever it needed.For that purpose i m trying to create global variable which i create in one script and used it in different functions.