Displaying content of SQL column
Posted: Wed Mar 16, 2005 11:10 am
Hi all,
I am encountering a small problem and wondering if this is normal or i am missing something.
I have a SQL db and run PHP 4.3
One of my Column name is quite Long, like "NumberOfLocationInTheBuilding"
If i try to echo this as echo &obj->NumberOfLocationInTheBuilding; nothing is displayed on my page.
But when I insert or update data via a php form, everyhting is loaded correctly in db.
So my question is:
Does echo have some restriction in the lenght of column name?
s
I am encountering a small problem and wondering if this is normal or i am missing something.
I have a SQL db and run PHP 4.3
One of my Column name is quite Long, like "NumberOfLocationInTheBuilding"
If i try to echo this as echo &obj->NumberOfLocationInTheBuilding; nothing is displayed on my page.
But when I insert or update data via a php form, everyhting is loaded correctly in db.
So my question is:
Does echo have some restriction in the lenght of column name?
s