HTML interesse |
|
Hoi,
Ik krijg het maar niet opgelost..
function bbcode ($tpl_file = 'includes/php/ubbparser/bbcode_tpl.htm'){
/* Blablabla */
}
function bbcode ($tpl_file = 'includes/php/ubbparser/bbcode_tpl.htm'){ /* Blablabla */ }
Nu heb ik deze variabel die de volledige url geeft
$site['url']
Die wil ik dus zo toepassen:
function bbcode ($tpl_file = ''.$site['url'].'includes/php/ubbparser/bbcode_tpl.htm'){
## Geeft: Parse error: syntax error, unexpected '.', expecting ')'
}
function bbcode ($tpl_file = "".$site['url']."includes/php/ubbparser/bbcode_tpl.htm"){
## Geeft: Parse error: syntax error, unexpected '.', expecting ')'
}
$url = "".$site['url']."includes/php/ubbparser/bbcode_tpl.htm";
function bbcode ($tpl_file = $url){
## Geeft: Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION
}
function bbcode ($tpl_file = ''.$site['url'].'includes/php/ubbparser/bbcode_tpl.htm'){ ## Geeft: Parse error: syntax error, unexpected '.', expecting ')' } function bbcode ($tpl_file = "".$site['url']."includes/php/ubbparser/bbcode_tpl.htm"){ ## Geeft: Parse error: syntax error, unexpected '.', expecting ')' } $url = "".$site['url']."includes/php/ubbparser/bbcode_tpl.htm"; function bbcode ($tpl_file = $url){ ## Geeft: Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION }
Iemand die het snapt?
Bvd, Shane
|