Lukela Posted October 6, 2007 Share Posted October 6, 2007 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~! Quote Link to comment Share on other sites More sharing options...
trq Posted October 6, 2007 Share Posted October 6, 2007 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 } ?> Quote Link to comment Share on other sites More sharing options...
Lukela Posted October 6, 2007 Author Share Posted October 6, 2007 Ok thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.