vakarj

Untitled

Mar 3rd, 2022
948
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. $pages = Page::pages(1); //Az oldal ID-jét cseréld ki
  2.  
  3. if(count($pages)){
  4.  
  5.     //Vannak aloldalak
  6.  
  7. }else{
  8.  
  9.     //Nincsenek aloldalak
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment