Parse Error: Parse Error, Unexpected '[', Expecting ',' Or ';' In

Mobile
feeds
Welcome Login | Register

Parse Error: Parse Error, Unexpected '[', Expecting ',' Or ';' In
  Forums Index
      » PHP Forums
        » » Parse error: parse error, unexpected '[', expecting ',' or ';' in



Parse Error: Parse Error, Unexpected '[', Expecting ',' Or ';' In
Post Description:
Post Tags: parse, error, parse, error, unexpected, expecting, or, in, free php support, php scripts, php questions, php answers, programming, codes, scripts
This Post Has Been Viewed 112 Times Since Sat Feb 09, 2008 9:33 pm Posted By hostman with 0 replies
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


Leave Your Comments






Share
URL:
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites



Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums





Comments and replies About Parse Error: Parse Error, Unexpected '[', Expecting ',' Or ';' In




(0) Comments