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
then on my news.php this is the code:Code:<?php include 'news.php'; echo "$rnews" ?>
on the home.php page how can i make this part not appear?Code:<?php $rnews = 'The Last piece of news'; $news = ' All the rest of the news'; echo "$rnews <br> $news" ?>
Code:echo "$rnews <br> $news"





Reply With Quote





