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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.