Hi, I am new to php and I have a question on assossiative arrays maded with loop.
I have written this code:
for ($j=0; $j<4; $j++)
{
$given=array( //S O S
"$j" => $_POST{"answer$j"});
echo "answer to".$j ."=> ". $given[$j] . "<br />";
} //until hera it prints the given answers
echo "<h1>SOSapanthsh sthn 0=> ". $given[0] . "<br /></h1>"; //but here ..prints a notice
Where I have made mistake?
Thank you !


