![]() |
Site Depth Guru's Please Could I have 1 Min?
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. |
instead of "require_once" just use "require" think that'll work
|
Quote:
|
The Heron - You are a star, many thanks it works a treat :)
Also thanks for your reply stickyfingerz :) |
Quote:
|
Not sure how I came up with that, they might have told me or I might have stumbled on it. Either way, might not be secure or something could be why they didn't mention it...
|
Just been on ICQ with Omar and require is secure - thanks guy's I was working on this all day!
|
Glad to help, sitedepth is topnotch
|
All times are GMT -7. The time now is 07:06 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123