Hypertext
30-03-2007, 09:24 PM
What have I done wrong :s
<?php
$path = $_SERVER['PHP_SELF'];
$valuesArray = explode("/",$path);
foreach ($valuesArray as $value){
$name = explode(".",$value);
echo $name[0];
if($name[1] == ""){
echo " > ";
}
}
?>
Its supposed to show the path :P
<?php
$path = $_SERVER['PHP_SELF'];
$valuesArray = explode("/",$path);
foreach ($valuesArray as $value){
$name = explode(".",$value);
echo $name[0];
if($name[1] == ""){
echo " > ";
}
}
?>
Its supposed to show the path :P