PDA

View Full Version : Combo Box Script Question



Richiedude
07-09-2011, 04:26 PM
1) Script Title: Combo-Box Viewer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm

3) Describe problem:

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



<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

jscheuer1
07-09-2011, 08:59 PM
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.