Re: [PHP] Accessing to an Object from a function

2007-03-05 Thread Jochem Maas
Stut wrote: > Lorenzo Giuliani wrote: >> i made a script that uses an object to access to the site data, i >> divided the whole site into various high specialized functions. All >> functions accesses to a single object (the object is a txtSQL >> instance). >> ... but ... i can't access to the varia

Re: [PHP] Accessing to an Object from a function

2007-03-05 Thread Stut
Lorenzo Giuliani wrote: i made a script that uses an object to access to the site data, i divided the whole site into various high specialized functions. All functions accesses to a single object (the object is a txtSQL instance). ... but ... i can't access to the variable declared in the main sc

[PHP] Accessing to an Object from a function

2007-03-05 Thread Lorenzo Giuliani
Hi, i made a script that uses an object to access to the site data, i divided the whole site into various high specialized functions. All functions accesses to a single object (the object is a txtSQL instance). ... but ... i can't access to the variable declared in the main script. Best regards.