/* Assuming you have these following files. index.php goma.php Here is what goma.php looks like: -------------------------------- */
/* -------------------------------- We wanted to view the contents of goma.php through this link: http://mydomain.com/index.php?page=goma Here's what a SIMPLE index.php looks like. -------------------------------- */ include("xxx.php") } ?> /* --------------------------------- *** NOTE: Just a simple approach if you want to get things done. You can use case-switch() or a query from a database will be a good idea without the use of other external pages (like goma.php) */