|
-
Jun 1st, 2007, 12:38 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] global > arrays
Why will this not work
PHP Code:
global $config['announcement_type'];
Error:
Parse error: syntax error, unexpected '[', expecting ',' or ';' in C:\xampp\htdocs\Meltdown Software\settings\settings.php on line 237
-
Jun 1st, 2007, 05:41 PM
#2
Re: global > arrays
You cannot import a single part of a variable; you may only import whole variables.
PHP Code:
global $config;
-
Jun 1st, 2007, 05:49 PM
#3
Thread Starter
Frenzied Member
Re: global > arrays
Thanks dude 
PHP Code:
$rep['penagate']++;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|