Jump to content

[SOLVED] BreadCrumbs~!


Lukela

Recommended Posts

I need help creating Breadcrumbs. This is my problem, I have no idea how to start it and end it. Something with REQUEST_URI or PHP_SELF and the main problem when I tried it was.

 

http://mysite.com/58327602   <----- I want this number to be a variable besides making it http://mysite.com/?&link=58327602

because so its a Friendly-URL Although the problem I get is that when someone puts a number there it says "File Cannot Be Found" or whatever. I just dont get the whole thing and I have searched online for help and still dont understand how 58327602 will be set as a variable from http://mysite.com/58327602 .

 

Please Help~!

Link to comment
Share on other sites

Creating breadcrumbs really depends on how your database is layed out and a few other things. If you google you should find tones of tutorials. Do we really need to write another one especially for you?

 

As for your other question, its pretty vague but I think your looking for...

 

<?php

  if (isset($_GET['link])) {
    $link = $_GET['link]; // given your example above $link would now hold the value 58327602
  }

?>

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.