http://www.m1k3.net/lab/framefront/how/
I read this manual but I still don't know how to use multiple level deep URL's.
I built into Framefront an alternative to $_GET[], called $get[]. You will use numbers 1,2,3,4,ect to access the depth of the url. $get[1] will ALWAYS be your view, then from there you will use $get[2], $get[3], $get[4], ect. to control things from there.
So, in our example above, team is accessed by using $get[1], and michaeldick is accessed by using $get[2].
Could you give me an example of that?
In terms of PHP logic, you would do something like this... Your "views" directory holds the PHP for many pages. For instance, if you have the file "logic.php" inside of your views directory, accessing it like http://www.yoursite.com/logic/ would make sense.
Framefront by default creates the $get[1] variable that points to "logic" in the URL. The reason you would use the $get array, is when using a switch. Say the page logic.php has multiple options... while you would normally switch that through $_GET[] (note the difference between $get) like logic.php?option=hello
With framefront, you could simply do "http://www.yoursite.com/logic/hello/" and in your PHP, simply include a switch or if-else statement
if($get[2] == "hello") , then do this
or
switch($get[2]) {
case "hello":
...
And so on. I hope this helped.
1 to 2 of 2