|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-09-16 04:59 UTC] sas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 08:00:01 2025 UTC |
./configure --with-mysql --enable-tracking-vars --with-apache=../apache_1.3.9 ---- I don't know if this is a problem with php4 or phplib, but I now have to make sure queries are not null before I run them. This isn't a big deal, but I'm just courious as to why I now have to check? (I didn't have to check under php3.0.x or php4b1) Old Code: function DB_Sql($query = "") { $this->query($query); } New Code: function DB_Sql($query = "") { if (strlen($query) > 0) { $this->query($query); } }