Posted by Marco J.L on 04/10/05 16:24
Hello,
when I start a function and use an variable from somewhere else in the
script the PHP page tells me:
PHP Notice: Undefined variable
This is an example script of the problem :
<?php
$varaa = "2525";
$varab = "4352";
$varac = "5312";
echo "Var AA and AB : ".$varaa.$varab;
funcaa();
function funcaa() {
echo "<BR>Var AB and AC : ".$varab.$varac;
}
?>
How can I solve this??
Thnx,
Marco J.L.
[Back to original message]
|