$row["id"] vs. $row[0] in func