$count=0;
foreach($top as $post){
тут код
foreach ($tday as $count => $today) {
var_dump($today)."<br/>";
}
и дальше код
}
$count=0;
foreach($top as $post){
тут код
$today = $tday[$count];
var_dump($today)."<br/>";
и дальше код
$count=$count+1;
}
spl_autoload_extensions('.php');
spl_autoload_register();
chdir(dirname(__DIR__));
spl_autoload_extensions('.php');
spl_autoload_register();
ul li {
...
display: inline-block;
...}
{
"extra": {
"asset-installer-paths": {
"bower-asset-library": "vendor/bower"
}
}
}
/**
* Set tag array
*
* @param array $tag
* @return MessagesOptions
*/
public function setTag($tag)
{
$this->tag = (array) $tag;
return $this;
}
/**
* Get tag array
*
* @return array
*/
public function getTag()
{
if (!is_array($this->tag)) {
throw new \InvalidArgumentException(sprintf('"%s" expects array.', __METHOD__));
};
return $this->tag;
}