You are here: Re: Calling array keys with embedded variables « PHP Programming Language « IT news, forums, messages
Re: Calling array keys with embedded variables

Posted by Sergej Andrejev on 10/20/05 00:45

well, not going deep to the cause you could use
trim($business_item_index)
to get rid of first and last spaces if $business_item_index is a string
after all or you could try to convert string to int like this
intval($business_item_index) it should also remove your leading space

 

Navigation:

[Reply to this 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

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