Re: calling function from function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



db( $defined[0], $defined[1], $defined[2], $defined[3] );

> which tells me that the $db handle is not being returned when called > from the db() function from within the logs() function and I am not > sure why?

it's being returned, you've just forgotten to assign it. add a "$db = " to the beginning of that line and you should be good to go.

--Rick

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux