Jump to content

path help


funkyg

Recommended Posts

Hello, i'm php newbie and trying to learn  ;D

 

I was wondering how can I make something like "current path"

 

For example if I have an index menu like this :  Home, About me, Colors, Contact , and if I click Colors, then in submenu i click blue , my url would be http://localhost/colors/blue

Now i would like to create path menu that would be positioned under the menu that in this case would look like this:

home / colors / blue

 

Any help is appriceated, thx.

Link to comment
https://forums.phpfreaks.com/topic/95049-path-help/
Share on other sites

Ok it works but not in this case  :-[

Actually my http://localhost/index.php/pg/"3333.html" is generated by mysql autoid (auto_increment) and there is parent column as well. I wrote a script that : select name from cont where id=3333;

It shows me current name, but not an absolute path.

How do i use that parent column to write out whole path?

Thanks

Link to comment
https://forums.phpfreaks.com/topic/95049-path-help/#findComment-489363
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.