Global variables
| From: | Anna Gyor | Date: | Wed, 02 Oct 2002 20:06:52 +0000 |
| Subject: | Global variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-118651@lists.php.net to get a copy of this message | ||
Hello,
how can I use global variables in my web portal? I have read the php
documentation, but it works only in the same file.
I want use more global variable on many php site.
For example:
In login.php I use the code
$first=mysql_result($result,0,"FIRST_NAME");
and I want to print this $first variable all of my php site.
Thanks!