Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Php Links

  1. #11
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    but iframe are so easy, why dont u like them?
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  2. #12
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    2,280
    Tokens
    1,075

    Latest Awards:

    Default

    i am so confuzed

    http://www.stupidian.com
    (contains mild swearing)

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

    Latest Awards:

    Default

    If you use ifraims you cant link to a certain page, and keep the layout around it, aslo you cant make an ifraim fit to a dinaic contents size, this way builds the html direcvtly in to the page.

    to make links you just use the normal html

    <a href="index.php?go=page">bla</a>

    The red bit is what sets the varible go

    The p[hp then asks, if that go is set to anything, if its set to say page then it includes what ever page you may have wanted

  4. #14
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    2,280
    Tokens
    1,075

    Latest Awards:

    Default

    so it puts a page on a page...?

    http://www.stupidian.com
    (contains mild swearing)

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

    Latest Awards:

    Default

    sort of.

    say i have
    page.htm
    HTML Code:
    <b> navigtion</b>
    <br>
    *imagnie lots of links are here*
    rather than rewrite these links for each page.

    ic an just on each page
    PHP Code:
    <?php
    include 'page.htm' ;
    ?>
    wich will then

    write all the html in page.htm in to the page u put the include in.

    wich is how i do my navigtion, and how i do the outside of my page.

    ratehr than rewrite it for each one.

    this way say with cutenews if i dont have much news the bit will be short, if i do it will be long. rather than u having to put an exstar biig ifram where u dont need it.. or go in to scroll bars.

    it litraly put the contents of the page it inludes, in raplace ment of the include bit.

    you following? ish?

    EDIT: more deatil on it in the php maule http://us3.php.net/include/

    (the site tends to confuse me so i learn form other places

  6. #16
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    What he said Its working really well by the way
    Basically is you go on mentor's site www.thybag.co.uk then click on one of the navigation links you will see how it works
    Last edited by splintercell!; 28-02-2005 at 04:40 PM.


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

Page 2 of 2 FirstFirst 12

Posting Permissions

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