мϊкэ
30-05-2005, 07:58 PM
Anybody know how to make some parts not appear in a php include
this is the php code on one of my pages home.php which shows the last piece of news
<?php include 'news.php'; echo "$rnews" ?>
then on my news.php this is the code:
<?php
$rnews = 'The Last piece of news';
$news = ' All the rest of the news';
echo "$rnews <br> $news"
?>
on the home.php page how can i make this part not appear?
echo "$rnews <br> $news"
this is the php code on one of my pages home.php which shows the last piece of news
<?php include 'news.php'; echo "$rnews" ?>
then on my news.php this is the code:
<?php
$rnews = 'The Last piece of news';
$news = ' All the rest of the news';
echo "$rnews <br> $news"
?>
on the home.php page how can i make this part not appear?
echo "$rnews <br> $news"