SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Multiple Frames in a PHP Script

    I posted this over in the php forum, but no one helped me.
    so i'll give forum a shot since frames are inherently client side scripting.

    Not sure if i should have this in this forum, but since someone in the HTML forum might not know how to implement this in a PHP script, so i'm asking here.

    I have my main page in a php script. and i wanted to add some frames on that page so that the 2 types of news i post on there won't take up 3 pages in length.

    Each frame would be 530px in length, and about 250 high.
    with about 20px of space between each frame.

    no borders, no resize etc.
    also the page would have a top nav, and to sections on either side of the frames.

    If you would like to know what i'm talking about see this page:
    www.3dartisan.net/index.php

    that page has some static news stories on them. but basically i want the frames to surround where each news type is (industry and site news)

    can anyone help me?
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  2. #2
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx for reply you guys really helped alot.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  3. #3
    SitePoint Zealot
    Join Date
    Mar 2001
    Location
    Los Angeles
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have to look at the problem the same way you would if you were building regular html pages with frames. Think of it this way;
    html is php's equivalent of a monitor. In other words it's just output. You use html to format the output from your php script. So build the frames in the php script.

    Just remember that you add a level of complexity with frames. You have to fill the frames with content. This will either mean multiple php script files or it will mean using include files. Good luck.

    bsacks
    http://www.middlepeak.com


Bookmarks

Posting Permissions

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