note 85163 added to mysqli-result.fetch-object
| From: | peterbelm at g | Date: | Mon, 18 Aug 2008 14:10:32 +0000 |
| Subject: | note 85163 added to mysqli-result.fetch-object | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143588@lists.php.net to get a copy of this message | ||
If your SQL code selects columns with empty names like so:
SELECT id as ``...
You will get a fatal error "Cannot access empty property", this took me a while to track
down!
Obviously your SQL really shouldn't do that, and should be fixed but I'm going to submit a
feature request to ask for a better error message for that.
----
Server IP: 92.48.100.16
Probable Submitter: 81.178.31.210
----
Manual Page -- http://www.php.net/manual/en/mysqli-result.fetch-object.php
Edit -- https://master.php.net/note/edit/85163
Del: integrated -- https://master.php.net/note/delete/85163/integrated
Del: useless -- https://master.php.net/note/delete/85163/useless
Del: bad code -- https://master.php.net/note/delete/85163/bad+code
Del: spam -- https://master.php.net/note/delete/85163/spam
Del: non-english -- https://master.php.net/note/delete/85163/non-english
Del: in docs -- https://master.php.net/note/delete/85163/in+docs
Del: other reasons-- https://master.php.net/note/delete/85163
Reject -- https://master.php.net/note/reject/85163
Search -- https://master.php.net/manage/user-notes.php