What's wrong with mysqli::get_result?

前端 未结 6 1972
情话喂你
情话喂你 2020-12-07 02:40

I have the following code:

$postId = $_GET[\'postId\'];
$mysqli = new mysqli(\'localhost\', \'username\', \'database\', \'name_db\');
mysqli_report(MYSQLI_RE         


        
6条回答
  •  难免孤独
    2020-12-07 03:32

    You're probably using old version of PHP not supporting get_result() as stated on manual page

    (No version information available, might only be in SVN)
    

提交回复
热议问题