You are here: Using variables in Two Function? « PHP Programming Language « IT news, forums, messages
Using variables in Two Function?

Posted by Barkster on 05/22/06 16:46

I have a page that has two functions on it, on load I check for posted
value if exists I set some variables that I want to use in the
functions but don't want to pass back and forth. Do I need to be using
global variables in order to use this variable in each function? Are
global variables only available to the page they are called correct?
Never used them before but I'm not getting the values if I just set a
$var at the top of the page. 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

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