note 57377 added to function.mysql-query
| From: | php at arcannon dot com | Date: | Sat, 01 Oct 2005 22:30:31 +0000 |
| Subject: | note 57377 added to function.mysql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96152@lists.php.net to get a copy of this message | ||
I believe there is a typo in celtic at raven-blue dot com version with:
if (($sql != "") && (substr($tsl, 0, 2) != "--") &&
(substr($tsl, 0, 1) != "#")) {
I think you really ment:
if (($tsl != "") && (substr($tsl, 0, 2) != "--") &&
(substr($tsl, 0, 1) != "#")) {
I changed the $sql to $tsl
----
Manual Page -- http://www.php.net/manual/en/function.mysql-query.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57377
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57377&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57377&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57377&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57377&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57377&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57377&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57377&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57377&report=yes
Search -- http://master.php.net/manage/user-notes.php