note 99055 added to function.mysql-field-name

From: Date: Sat, 24 Jul 2010 22:02:35 +0000
Subject: note 99055 added to function.mysql-field-name
Groups: php.notes 
Request: Send a blank email to php-notes+get-171106@lists.php.net to get a copy of this message
When using aliases, it appears impossible to discover the name of the underlying column. select ID as anAlias from aTable returns 'anAlias' as the mysql_field_name(). I have tried all the mysql_field_xxx() functions and none return the real column name. ---- Server IP: 117.104.162.229 Probable Submitter: 114.76.145.203 (proxied: 114.76.145.203) ---- Manual Page -- http://www.php.net/manual/en/function.mysql-field-name.php Edit -- https://master.php.net/note/edit/99055 Del: integrated -- https://master.php.net/note/delete/99055/integrated Del: useless -- https://master.php.net/note/delete/99055/useless Del: bad code -- https://master.php.net/note/delete/99055/bad+code Del: spam -- https://master.php.net/note/delete/99055/spam Del: non-english -- https://master.php.net/note/delete/99055/non-english Del: in docs -- https://master.php.net/note/delete/99055/in+docs Del: other reasons-- https://master.php.net/note/delete/99055 Reject -- https://master.php.net/note/reject/99055 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#171106) next »