stop posting multiples times.
and try the code.
you write:
"Can I write like this?
"
what on godes earth stops you from sticking that in a text file
and running it? takes just as long as sticking it in an email.
YOU ARE REQUIRED TO CODE/TRY STUFF YOURSELF!.
Wong HoWang wrote:
That is somethi
Fer chrissakes - just try it.
Twill either work or not.
Miles
At 06:20 AM 8/8/2005, Wong HoWang wrote:
but, I mean I haven't start the global variable BEFORE the function is
called...
"Jasper Bryant-Greene" <[EMAIL PROTECTED]>
wrote:[EMAIL PROTECTED]
> $someGlobalVariable = 'foo';
>
> functi
simply,
$GLOBALS['varname']=some_value;
M Saleh EG
+971-50-4779817
On 8/8/05, Wong HoWang <[EMAIL PROTECTED]> wrote:
>
> as title, how to do that?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
M.Saleh.E.G
97150-477981
That is something like:
Can I write like this?
"Jasper Bryant-Greene" <[EMAIL PROTECTED]>
wrote:[EMAIL PROTECTED]
> $someGlobalVariable = 'foo';
>
> function myFunction() {
> global $someGlobalVariable;
>
> // do stuff with $someGlobalVariable
> }
> ?>
>
> Jasper
>
> Wong HoWang wrote:
>> as
but, I mean I haven't start the global variable BEFORE the function is
called...
"Jasper Bryant-Greene" <[EMAIL PROTECTED]>
wrote:[EMAIL PROTECTED]
> $someGlobalVariable = 'foo';
>
> function myFunction() {
> global $someGlobalVariable;
>
> // do stuff with $someGlobalVariable
> }
> ?>
>
> Jasper
but, I mean I haven't start the global variable BEFORE the function is
called...
"Jasper Bryant-Greene" <[EMAIL PROTECTED]>
wrote:[EMAIL PROTECTED]
> $someGlobalVariable = 'foo';
>
> function myFunction() {
> global $someGlobalVariable;
>
> // do stuff with $someGlobalVariable
> }
> ?>
>
> Jaspe
as title, how to do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as title, how to do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jasper
Wong HoWang wrote:
as title, how to start a global variable within a function?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as title, how to start a global variable within a function?
10 matches
Mail list logo