|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-08-09 02:30 UTC] auroraeosrose at hotmail dot com
Description: ------------ Trying to use MYSQLI_CLIENT_FOUND_ROWS with mysqli_real_connect and getting "Use of undefined constant" error. The flag supposedly exists according to the docs, but when looking at the mysqli source files it's never defined :) It should either be deleted from the docs, or defined somewhere if it was simply forgotten PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
somewhere around line 452 of mysqli.c adding REGISTER_LONG_CONSTANT("MYSQLI_CLIENT_FOUND_ROWS", CLIENT_FOUND_ROWS, CONST_CS | CONST_PERSISTENT); should fix it :)