note 130544 added to mysqli-result.fetch-column
| From: | i@have.no.email.address | Date: | Fri, 14 Nov 2025 03:35:21 +0000 |
| Subject: | note 130544 added to mysqli-result.fetch-column | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222418@lists.php.net to get a copy of this message | ||
If you PHP version <= 8.1.0, use
<?php
function fetch_column($result){
return mysqli_fetch_row($result)[0];
}
?>
instead.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 218.8.66.22)
----
Manual Page -- https://php.net/manual/en/mysqli-result.fetch-column.php
Edit -- https://main.php.net/note/edit/130544
Del: integrated -- https://main.php.net/note/delete/130544/integrated
Del: useless -- https://main.php.net/note/delete/130544/useless
Del: bad code -- https://main.php.net/note/delete/130544/bad+code
Del: spam -- https://main.php.net/note/delete/130544/spam
Del: non-english -- https://main.php.net/note/delete/130544/non-english
Del: in docs -- https://main.php.net/note/delete/130544/in+docs
Del: other reasons-- https://main.php.net/note/delete/130544
Reject -- https://main.php.net/note/reject/130544
Search -- https://main.php.net/manage/user-notes.php