note 69831 added to function.pg-fetch-result

From: Date: Fri, 22 Sep 2006 13:49:33 +0000
Subject: note 69831 added to function.pg-fetch-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-117425@lists.php.net to get a copy of this message
See bug #33809 http://bugs.php.net/bug.php?id=33809 Whether this really is a bug or a feature is not clear. However, it is probably best to always put your column names in extra quotes. $res = pg_query(...); $colname = pg_field_name($res, $j); pg_fetch_result($res, $i, "\"$colname\""); ---- Server IP: 203.16.234.91 Probable Submitter: 58.6.65.66 ---- Manual Page -- http://www.php.net/manual/en/function.pg-fetch-result.php Edit -- https://master.php.net/note/edit/69831 Del: integrated -- https://master.php.net/note/delete/69831/integrated Del: useless -- https://master.php.net/note/delete/69831/useless Del: bad code -- https://master.php.net/note/delete/69831/bad+code Del: spam -- https://master.php.net/note/delete/69831/spam Del: non-english -- https://master.php.net/note/delete/69831/non-english Del: in docs -- https://master.php.net/note/delete/69831/in+docs Del: other reasons-- https://master.php.net/note/delete/69831 Reject -- https://master.php.net/note/reject/69831 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#117425) next »