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
https://forums.phpfreaks.com/topic/72079-solved-breadcrumbs~/
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
https://forums.phpfreaks.com/topic/72079-solved-breadcrumbs~/#findComment-363216
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.