Hi, Thursday, October 3, 2002, 6:06:52 AM, you wrote: AG> Hello,
AG> how can I use global variables in my web portal? I have read the php AG> documentation, but it works only in the same file. AG> I want use more global variable on many php site. AG> For example: AG> In login.php I use the code AG> $first=mysql_result($result,0,"FIRST_NAME"); AG> and I want to print this $first variable all of my php site. AG> Thanks! If you are wanting it to be 'global' for the same visitor across your site use php session functions. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php