Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default How do you make a link that..

    Just adds a php thing on the end, so when you click "Here" it just adds &page=here to the end of the url
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  2. #2
    Join Date
    Sep 2006
    Location
    Doncaster, UK
    Posts
    4,081
    Tokens
    0

    Latest Awards:

    Default

    PHP Includes, although a little more in-depth.

    www.php.net/includes
    Quote Originally Posted by Nain View Post
    i voted 'Not Sure' as im, not sure!

  3. #3
    Join Date
    Oct 2006
    Location
    Merseyside
    Posts
    2,335
    Tokens
    0

    Latest Awards:


  4. #4
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    no i know how to use includes, but say i wanted a link like;

    Code:
    <a href="&page=home">Click here</a href>
    It trys to open the page called &page=home so how do i make a link which just adds &page=home to the end of the url
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  5. #5
    Join Date
    Sep 2006
    Location
    Doncaster, UK
    Posts
    4,081
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Xiwl View Post
    no i know how to use includes, but say i wanted a link like;

    Code:
    <a href="&page=home">Click here</a href>
    It trys to open the page called &page=home so how do i make a link which just adds &page=home to the end of the url
    Do what !Lily said - that girl rocks.

    It's more complex than you think.
    Quote Originally Posted by Nain View Post
    i voted 'Not Sure' as im, not sure!

  6. #6
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    Quote Originally Posted by Aflux View Post
    Do what !Lily said - that girl rocks.

    It's more complex than you think.
    You dont understand, do you -.-
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  7. #7
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    You have to use a PHP function called Classes.

    Search it on google


  8. #8
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    wait this might work, whats code to retrieve the url you're on, its something like server_uri
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  9. #9
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Well you cant start it with an &, it has to start with a ? then exstra critera are with ands

    aka

    ?need=pie
    is right
    &need=pie
    is wrong.

    ?need=pie&want=cake
    is right
    &need=pie&want=cake

    etc etc

    to make that have any effect somthing on the pages code has to read the get varibles and do somthing with em, if you just use the
    ?need=pie&want=cake, what your actualy loading is, index.php?need=pie&want=cake (or index with another exsention)

    if you wanted it for a particual page, food.php?need=pie&want=cake is an example.

    Hope that helps

  10. #10
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by 01101101entor View Post
    Well you cant start it with an &, it has to start with a ? then exstra critera are with ands

    aka

    ?need=pie
    is right
    &need=pie
    is wrong.

    ?need=pie&want=cake
    is right
    &need=pie&want=cake

    etc etc

    to make that have any effect somthing on the pages code has to read the get varibles and do somthing with em, if you just use the
    ?need=pie&want=cake, what your actualy loading is, index.php?need=pie&want=cake (or index with another exsention)

    if you wanted it for a particual page, food.php?need=pie&want=cake is an example.

    Hope that helps
    _Technically_ you could, but that would require some nifty stuff in mod_rewrite

    As for Xiwi or whatever, listen to !Lily, she gave you the right link, what you're after is php navigation.

    Argue and I WILL END YOU.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •