If you wanted to display the contents on fhe article thats stored in another php file, you are going to have to include() it, and that only works well if theres only article text there and not a whole menu system or whatever.
I suggest you store the articles in MySQL and query the database directly instead of requiring another file to do it.
Main Topics
Browse All Topics





by: mgh_mgharishPosted on 2005-12-27 at 17:58:43ID: 15560089
Hi smphil,
; // Add more if needed ] . ".php";
<?php
$arr = array("one","two","three")
echo "art_" . $arr[rand(0,count($arr)-1)
?>
---
Harish