Groovebox
Joined: 19 Jan 2005 Posts: 1
|
Posted: Wed Jan 19, 2005 3:14 am Post subject: "The Content" is disappearing on me. |
|
|
Ok -
I am including the "b2.php" into a page called "current.php".
The current.php file is called by the main page, called index_launch.php.
This is the index_launch.php:
http://www.guardmusic.com/index_launch.php
This is the current.php:
http://www.guardmusic.com/current.php
I can see my "body" text on the current.php, but once it gets included into the index_launch version, it disappears.
Here is my b2.php code:
Code: |
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("m.d.y","<h1>","</h1>"); ?>
<p>
<?php permalink_anchor(); ?>
<strong><?php the_title(); ?></strong> <br />
<?php the_content(); ?>
<?php link_pages("<br />Pages: ","<br />","number") ?>
<br />
<em>posted by Jason @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a></em>
<br />
<a href="<?php comments_link() ?>"><?php comments_number("no comments", "1 comment", "% comments") ?></a>
</p>
<?php include ("b2comments.php"); ?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php } ?>
|
The site is just a copy of a site I did for my church, so it doesn't make sense obviously. Other than that, I hope somebody can give me a heads up.
Thanks,
GB[/code] |
|