I'm just starting to use PEAR, and have seen several ways of
instantiating the PEAR objects:

$form = new HTML_QuickForm();
$form =& new HTML_QuickForm();
$dbh = DB:connect("dsn");
$dbh = new DB();
$mail_object =& Mail::factory('sendmail', $params);

Can anyone explain (or point to dome docs that explain) what the
differences are, and when I should be using which method to work with
PEAR objects?

Thank you,

Beau



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

Reply via email to