neoform Posted April 13, 2007 Share Posted April 13, 2007 When i set mysqli to report: mysqli_report(MYSQLI_REPORT_INDEX); for whatever reason when i do this query: "SELECT name FROM system_permissions" (it's a small table and i want all the permissions selected; the table has a primary key 'id') I get this error: Warning: mysqli::query() [function.mysqli-query]: (00000/0): No index used in query/prepared statement SELECT name FROM system_permissions in common.php on line 30 I don't get why either, since the query runs perfectly in mysql without any warnings.. so why is php giving me this error? Link to comment https://forums.phpfreaks.com/topic/46920-strange-mysqli-index-errors/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.