Non-static method mysqli::init() cannot be called statically

Posted by Joshua on Stack Overflow See other posts from Stack Overflow or by Joshua
Published on 2010-03-08T01:03:21Z Indexed on 2010/03/08 1:18 UTC
Read the original article Hit count: 505

Filed under:
|

http://php.net/manual/en/mysqli.init.php

$ConnectionResource = mysqli::init();

The above code fails with:

Fatal error: Non-static method mysqli::init() cannot be called statically

How come?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysqli