Re: spitting variables
Sorry Im not sure if thats right.
An example would be if Ive gone from home page to category 1 and subcat 1 then the $location[position] would equal home.php category1 subcat 1 .. etc i assume thats in an array $location[position]
if i run the loop in the last post & display each element of the array i get
{$foo[0]} gives me h - i need home.php
{$foo[1]} gives me o - i need category 1
etc ...
would you happen to have an example of what you mean please ?
thank you
|