Tani hosting

array_push prevents the page from loadinghttp://blog.advids.co/20-device-explainer-vi
carterturner Offline
Użytkownik

Liczba postów: 23
Reputacja: 0
Post: #1
array_push prevents the page from loadinghttp://blog.advids.co/20-device-explainer-vi 29-08-2017 11:04
People please help!

A little bit of wordpress is involved, but the question is about PHP.
The code is all the posts of a particular teacher and allows each article to get the highest category in this hierarchy, which is the detailed directory of a given category. The category hierarchy is: 0-> 14-> 32-> 123, 124, 125 (three categories under 32, each has one post). In this case, I get 32 for each post, I push it in the array and then gỡ bỏ những giá trị cùng. BUT I have a problem in this case: given category is 32. The category hierarchy is the same. In this case I get 123, 124, 125 (direct children of 32). The line that pushes them in the array prevents the page from loading. WHY ?!
Please Help.
Thanks!
I did not find the right solution from the internet.
References:
- https://www.php-forum.com/phpforum/viewt...=280994651
- Device Explainer Video Examples
(Ten post był ostatnio modyfikowany: 29-08-2017 11:05 przez carterturner.)
Cytuj
Diabeł Online
Użyszkodnik


Liczba postów: 777
Reputacja: 666


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości