PDA

View Full Version : Including latest posts and polls in new pages


ibold
08-08-2004, 05:36 PM
I am trying to get my latest posts and polls to appear in my Linksql directory (www.ibold.net). I would ideally like it to be in the center of the page, and have tried two different approaches:
First I tried using a PHP include for the index page that is created.
Next I tried actually using the PHP that makes up the index page in my actual pages.
I ran into two problems - first being that my page was cut off right where the code started (so if I put either of those two codes, the include or the actual php into the page, the page ended right where that code ended, and any additional content I had before got cutoff). Not a big deal, I just made it last on the page (its in the bottom right hand corner of ibold.net). That worked perfectly for a short time (when I had one test post). Now I'm getting this error:

Unable to add cookies, header already sent.
File: /home/virtual/site9/fst/var/www/html/index.php
Line: 2

And nothing is displaying. Any idea how I can accomplish an include of the Polls / latest posts on all of my linksql pages?
Thanks in advance!

ibold
08-16-2004, 08:41 PM
Bump...
Anyone have any clue what might be causing this? Thanks..

Our Sponsors
 

KW802
08-16-2004, 08:57 PM
ibold, are you trying to do this using vBadvanced CMPS? :confused:

Brian
08-17-2004, 12:32 PM
I've never looked at that script, so I couldn't really tell you what would need to be done to integrate the two.