- Forums
- PHP
- Parse error: parse error, unexpected '[', expecting ',' or ';' in
This Page Contains information about Parse error: parse error, unexpected '[', expecting ',' or ';' in By wallpaperama in category PHP with 0 Replies. [1076], Last Updated: Sat May 18, 2024
wallpaperama
Sat Feb 09, 2008
0 Comments
363 Visits
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