Results 1 to 2 of 2

Thread: Combo Box Script Question

  1. #1
    Join Date
    Aug 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Combo Box Script Question

    1) Script Title: Combo-Box Viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...omboviewer.htm

    3) Describe problem:

    is it possible to use, inside of the div's, php includes? or iframes?

    Code:
    <div id="dropmsg0" class="dropcontent">
    <?php include("path-to-page-1.html"); ?>
    </div>
    
    <div id="dropmsg1" class="dropcontent">
    <?php include("path-to-page-2.html"); ?>
    </div>
    
    <div id="dropmsg2" class="dropcontent">
    <?php include("path-to-page-3.html"); ?>
    </div>
    i can't seem to get it to work

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Your page must be a .php page on a PHP enabled server, and the page you want to include must be there, and the PHP syntax must be valid for that server.

    But yes, you can use an include. An iframe should be fine as well.

    If you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •