Topic awaiting preservation: global variables - PHP (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Berlin, Germany |
posted 12-29-2001 22:57
I have a script with several variables and i want to set the default setting: |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 12-29-2001 23:03
To save code i would write: |
Bipolar (III) Inmate From: Berlin, Germany |
posted 12-29-2001 23:12
Did not work... quote:
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 12-29-2001 23:48
I've had this problem on windows platforms but not on *nix |
Paranoid (IV) Inmate From: Lebanon |
posted 01-04-2002 13:18
as bitdamaged, said, you can use the isset(), i have made a handy function that tests if set and if empty too: code: <?
|