Finding Items in an Array or not with PHP
The problem: we have an array of items in PHP and we want to find out if a specific item is in the array. In code we can define the array as:
Study PHP Skills, Share PHP Code
The problem: we have an array of items in PHP and we want to find out if a specific item is in the array. In code we can define the array as:
It is very simple,just like this: {php} echo “PHP“; echo “I love PHP“; echo “included in .tpl“; {/php} Find the Current URL with PHP