Mysql fetch_field gets table alias, not real table name

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • phdfromic@yahoo.com

    Mysql fetch_field gets table alias, not real table name

    After a SQL 'select .... from tablename alias'
    the mysql_fetch_fie ld function returns a value $result=>table which
    will contain the alias, not the actual table name.
    Is there a way to get the actual table name ?

    I am running mysql 4.1 and php 4.4

Working...