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

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

Reply via email to