|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-12-08 09:17 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 07:00:01 2025 UTC |
Description: ------------ mysqli_query function does not fail with a warning message when invalid queries are sent. Reproduce code: --------------- error_reporting(E_ALL); $link = mysqli_connect("localhost", "andrei.tudor", "babardeala", "test"); $result = mysqli_query($link, "SELECT * FROM Groupss"); Expected result: ---------------- I use that query but in my database there is no table called "Groupss". So there should be a warning message shown on my screen even if i don't call mysqli_error() function. Actual result: -------------- There is no warning message. This happens for any wrong query string.