|
Posted by Rik on 03/09/07 13:00
J.O. Aho <user@example.net> wrote:
> if(_MYSQL_CLASS) { return; }
> define(_MYSQL_CLASS,true);
Hmmmz, allthough a cluttering of constants, a bit more elegant indeed. I'd
use defined(_MYSQL_CLASS) though, else it will never ever create an object
for you if not previously defined to false :P
--
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
Navigation:
[Reply to this message]
|