Displaying More Than One Table in a Viewer

3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 16, 2010   (RSS)

By JLynne77 - September 16, 2010

I'm using a single page editor to create the homepage of the site. I want to include a feed of the news listings from the news editor without having to change it manually.

[url=http://66.39.41.59/]Demo Link Here[/url]

I've pulled the area for the news feed into a PHP include file, thinking that might help with conflicting table name code. Now, as you can see, I'm getting an warning.

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/scame/index.php:32) in /usr/www/users/scame/news-feed.php on line 1


Other than that, the feed looks exactly as it should.
-----
~Jessica Sullivan, Crystal Realm Designs.

Re: [Duches77] Displaying More Than One Table in a Viewer

By Jason - September 16, 2010

Hi Jessica,

The mostly likely cause of this is that in the file news-feed.php, there is a line that looks something like this:
<?php header(.... );?>

This is probably at the very top of the file. Try removing that line. If that doesn't work, please attach both news-feed.php and the file that's linking to it and I'll take a closer look.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/