another clear n00b question:
In the following snippet of code (that works fine), what does the '=>' operator do? I thought it was for creating associative arrays. Is that going on here?
Any explanation helpful.
foreach ($parent as $task_id => $todo)
{
echo "<li>$todo";
if (isset($tasks[$task_id]))
{
make_list($tasks[$task_id]);
}
echo '</li>';
}