Parse Error: Parse Error, Unexpected '[', Expecting ',' Or ';' In
parse error: parse error, unexpected '[', expecting ',' or ';' in
parse, error, parse, error, unexpected, expecting, or, in
Parse Error: Parse Error, Unexpected '[', Expecting ',' Or ';' In
Post Description: parse error: parse error, unexpected '[', expecting ',' or ';' in
POST# 446
Posted On: Fri Feb 29, 2008 12:01 pm
web hosting
Topic: Parse Error: Parse Error, Unexpected '[', Expecting ',' Or ';' In
i have function and i also have an array,

can i make an array a global in a function?

this is what i have:

function pages_url_mod($page_url, $site_url) {
global $config['site_url'];
return $site_url.$page_url.'.html';
}


thanks


this is my error:

Parse error: parse error, unexpected '[', expecting ',' or ';' in


thanks


No Repies
(0) Comments for Parse Error: Parse Error, Unexpected '[', Expecting ',' Or ';' In

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload