Classes

From: Date: Thu, 14 Feb 2002 17:25:53 +0000
Subject: Classes
Groups: php.windows 
Request: Send a blank email to php-windows+get-12071@lists.php.net to get a copy of this message
i've seen a code like this... ----------- $conn = DB::Connect($connstr); $conn->query($sql); ----------- i think this is from PEAR's DB abstraction layer.. but my problem is, i don't know how to create a class like the 'DB'. I tried to, but i failed. How can i create an instance of a class without using "new" ? -- ============================= B r i a n F e l i c i a n o ============================= Server Administrator The Websense Group Co. ----------------------------- Unit 103 Terris Villa Sikap St. Mandaluyong City, Philippines Tel. No.: (632) 7462449 Fax. No.: (632) 7462482 Mobile Phone No.: +639176189153

« previous php.windows (#12071) next »