Why does mysqli fetch() return empty results from

2019-07-17 13:36发布

问题:

For some reason mysqli $query -> fetch(); returns blank, the columns that are longtext in my mysql table?

Any ideas? I set the columns to text, it works fine. It also works fine on my WAMP server, but when I put it up to the production server it just returns blanks. Both systems are running php 5.3.5

回答1:

Have you tried using $mysqli->query() and $result->fetch_object()?

Same problem?