Reply to Variable name length

Your name:

Reply:


Posted by larry on 10/19/05 05:48

I'm working on a new project that I want to get as human readable as
possible, and was wondering what the constraint on variable naming does
PHP have.

Can I have a variable like:

$provider_center_openings_infant_ft

(34 characters if you want to know)

Also any idea if there is a similar limit to MySQL or Postgre field
names.

I've been coding for decades back when I had a limit of 2 characters
for variables on the old Commodore VIC-20, it's kind of hard to get
used to all this room. I've tried to find my answer in TFMs, but
nothing really goes into that metric, I figure you PHP code masters
would know of any (or possible pitfalls) if it bit you once.

Thanks for any insight,
Larry

[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

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