Hi there,

I am new to classes in PHP and do want to change a class that has been in a package I downloaded. I do simply want to access a variable from outside.

This is the code:

    class search_helper extends AjaxACApplication
    {

           //global $DB;

           var $db_database = 'test';
        }

I would like to replace 'test' with $DB. This is the variable from outside that holds the name of the Database.

Thank you for any help!

Merlin

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

Reply via email to