Reply to Re: Execute code in global scope

Your name:

Reply:


Posted by Tommy Gildseth on 02/24/06 21:51

Jerry Stuckle wrote:
>
> You can define $var as global by placing
>
> global $var;
>
> BOTH in the global scope and in the function, i.e.
>
>

That is incorrect. You only need to declare the variable global within the
function to get access to it.

--
Tommy
http://design.twobarks.com/

[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

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