i want to make a simple function but i cant figure it out.
<?
$var1 = "Hello";
$var2 = "World";
combine($var1, $var2)
print $wordCombined;
function combine($var1, $var2){
$wordCombined = $var1.' '.$var2;
return;
}
?>
but it dont displays the value what do u think should i do with this or maybe i code it wrong