View Single Post
Old 07-11-2008, 10:19 AM  
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by teenfeetcash View Post
Hey

We are playing around with Site Depth as the CMS for our sites and for some reason if we embed:

<?php
$show = 'news';
require_once 'xxxxxxxxxxxx/websites/2.php';
require_once 'xxxxxxxxxxxx/members_area.php';
?>

and

<?php
$show = 'recent_gal_updates';
require_once 'xxxxxxxxxxxx/websites/2.php';
require_once 'xxxxxxxxxxxx/members_area.php';
?>

In 2 separate tables on the same page, only content from 1 of the categories is displayed, and the other table is just blank.

If I have 1 category populated by SD on any table it works, but more than 1 php call it only shows content from 1 category.

I would assume it's ok to call <?php . . . many times on a page?

Any help would be appreciated.
Last time I asked about this I was told only one instance per page would work. You might try an iframe for the second, but I think it didn't work for me when I tried that.
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote