Hey can someone help me with my homework? Sure yeah I missed out all those days, but reading over the docs helps. So I'm on day 1's homework and I'm getting a syntax error.
function test()
{
$var1 = "Hello world!";
{
echo("$var1");
}
}
};
function test()
{
^$var1 = "Hello world!";
^{##
##
^^echo("$var1");
^^}
^}
};
Basicly I'm trying to get test() to echo $var1.