Hi,
The code below, first I get the path of the current page i.e.
/home/subpage1/subpage1.php etc... Then I am trying to explode $a, so that I
will have the hom, subpage and subpage1a.php words separately. I read that
explode function creates an array such as $aa[0] and $aa[1]...But the problem
below is I can not see these in the output. This echo statement outputs
nothing. What is the problem below?
$a= $_SERVER['PHP_SELF' ];
$aa=explode("/", $a);
echo $aa[0].$aa[1];
[Non-text portions of this message have been removed]