So here I am this morning working on this nice little array problem and it is giving me a lot of grief, I am just wondering what is wrong with my for loop? The variable $i is not incrementing, it stays at 0
if(!empty($name))
{
for ($i=0;$i<count($name);$i++)
{
echo $name = $name[$i];
echo $i;
//$sql = "update students set personal='$personal' where username='$name'";
//echo $sql;
//$update = mysql_query("$sql",$db);
}
}