Finding Items in an Array or not with PHP
April 23rd, 2008 — adminThe 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:
Read the rest of this entry »
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:
Read the rest of this entry »
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 Read the rest of this entry »