Date: 02/12/03
- Next message: Dash McElroy: "Re: [PHP-WIN] ereg_replace"
- Previous message: Frank Tudor: "[PHP-WIN] copying a mysql table within a database"
- In reply to: Paul Dymecki: "[PHP-WIN] general question on Globals"
- Next in thread: Paul Dymecki: "Re: [PHP-WIN] general question on Globals"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I actually just did this last night. I could not for the life of me figure
out why my variable wasn't working. Until I remembered it was in a
function and I had to do a global $varname; command.
Works just fine.
-Dash
Age before beauty; and pearls before swine.
-- Dorothy Parker
On Wed, 12 Feb 2003, Paul Dymecki wrote:
> I have a general question on Global vars. If you declare a Global variable
> within a function in a program called x.php. Do you have access to this
> variable in another program say y.php that has include_once("x.php")?
> thx,
> Paul Dymecki
>
>
>
>
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Dash McElroy: "Re: [PHP-WIN] ereg_replace"
- Previous message: Frank Tudor: "[PHP-WIN] copying a mysql table within a database"
- In reply to: Paul Dymecki: "[PHP-WIN] general question on Globals"
- Next in thread: Paul Dymecki: "Re: [PHP-WIN] general question on Globals"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

