note 68143 deleted from function.mysqli-free-result by hholzgra

From: Date: Sat, 29 Sep 2007 10:56:12 +0000
Subject: note 68143 deleted from function.mysqli-free-result by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130920@lists.php.net to get a copy of this message
Note Submitter: lucky760 at yahoo dot com ---- Replace the switch statement in __get() of my previous post with these two lines: <?php //if (property_exists('mysqli_result', $i_varname))// <-- PHP5.1.0RC1 required return $this->m_mysqli_result->{$i_varname}; ?> I wasn't aware of that syntax until just now. It's much more attractive.

« previous php.notes (#130920) next »