Mistři v programování na #hovnokod

PHP #539

najdete dva rozdíly?

$count = count($books);
		for ($i = 0; $i<$count;$i++)
		{
			if ($books[$i]["last_cat"] =="")  $books[$i]["last_cat"] = 0;
			$books[$i]["id"] = $books[$i]["Id"];
			$books[$i]["name"] = $books[$i]["BookName"];
			$books[$i]["visible"] = 1;
			//$chapter = $this->getChapter($books[$i]["Id"]);
		}
		
		for ($i = 0; $i<$count;$i++)
		{
			if ($books[$i]["last_cat"] =="")  $books[$i]["last_cat"] = 0;
			$books[$i]["id"] = $books[$i]["Id"];
			$books[$i]["name"] = $books[$i]["BookName"];
			$books[$i]["visible"] = 1;
			//$chapter = $this->getChapter($books[$i]["Id"]);
		}
		//print_r($books);
return $books;

Anonymous,