php and <div> tag

Sharky Forums


Results 1 to 2 of 2

Thread: php and <div> tag

Threaded View

  1. #1
    Expensive Sushi
    Join Date
    Dec 2003
    Posts
    17

    php and <div> tag

    Hi.
    I am making a site that has two columns using <div> tag, the one to the left is going to be the menu, and the other the main window.

    I'm using the php 'include' command to load a menu.php on the left <div>, and a welcome page in the main <div>.

    The object is now to get links from the menu to show in the main window.

    From menu.php:
    Code:
    <a href="http://www.google.com" target="main">Google</a>
    This should load google in the <div> main, but nothing happens.

    How do I get the main <div> to include whatever gets called from a link from the menu?

    [edit]rephrase: I'm trying to send a link from menu.php to the <div class="main"> which is defined in index.php[/edit]
    Last edited by schkeb; 09-29-2004 at 02:04 PM.

Posting Permissions

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