Php fatal error uncaught exception. Uncaught error: cannot use object of type mysqli_result as array in. syntaxerror: parse error (line 2, end of input). fatal error tab. syntax error.