You are here: Re: parsing template using preg_replace_callback() « PHP Programming Language « IT news, forums, messages
Re: parsing template using preg_replace_callback()

Posted by mens libertina on 08/18/06 01:14

Jerry Stuckle wrote:
>
> It wouldn't. $info is local to this function. You need to have a
> variable with global scope - or at least one which is available to the
> main code, not just a function.
>

After I read your post, I declared $info as "$info = array();" at the
top of the program with the same result. Did I misunderstand what you
meant by global scope?

Thanks.

 

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

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