Reply to Re: not able to retrieve numeric entries

Your name:

Reply:


Posted by J.O. Aho on 12/08/06 05:58

Mwahahahahaaahaa wrote:
> Hello all.. here is my prob.. i have a dbase with a table with a few
> values such as days, start, whoadded, and 1-31 as entries. I can
> succesfully load a dbase and table and retrieve the first couple values
> like days and start etc.. but when it comes to loaded a numeric value,
> it doesn't echo anything. I've tried:
>
> echo $row[1];

This should output the second column in the row.


> echo $row['1'];

This should output the column called 1.
Using a number as a column name is a really bad idea.



//Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация