Why does the 260 character path length limit exist in Windows?

Quoting this article https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#maximum-path-length-limitation Maximum Path Length Limitation In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating … Read more

How to limit items from for loop?

Dont know what you mean there. But here is what I understand from your question <?php for ($i=0; $i< count($contentdinamit[“chart”][“songs”][“song”]); $i++ ) { if(($i+1)<=10){//limit your item by 10 echo'<li class=”up”><a href=”‘ .$contentdinamit[“chart”][“songs”][“song”][“$i”][“artist_name”].'”><strong>’ .$contentdinamit[“chart”][“songs”][“song”][“$i”][“song_name”].'</strong></a><br /><a href=”‘ .$contentdinamit[“chart”][“songs”][“song”][“$i”][“artist_name”].'”>’ .$contentdinamit[“chart”][“songs”][“song”][“$i”][“artist_name”].'</a></li>’; } } ?>