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