I\'m a PHP newbie, so I have a minor problem functions. I have this line of code:
It sounds like you have nothing set in your $pera variable. If you have to define a variable outside a function, try passing its value as argument to your function.
function echoMyVar( $myVar ) { echo $myVar; } $p = "toto"; echoMyVar($p);