PHP Tutorial - 19 - PHP Count() Function - Number of Elements in Array

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Where in your HTML document do you put this code? I have something similar for my blog archive, but dunno where it should go. It's like this...

<script>
<?php
$bloglinks=array("Rejoice", "Valentine's Day");
echo count($bloglinks);
?>
</script>

LadanSoodmand