hm why not just skip mod_rewrite altogether and use:
<?php
require ( "database_conn.inc.php" );
$page = (!isset($_GET['page'])) ? 'main' : strtolower($_GET['page']);
switch($page) {
case 'main': include 'index1.php'; break;
case 'fb'; include 'football.php'; break;
default: include 'index1.php';
}
?>
a few notes about your code. theres no reason to open and close your php tags when the next instruction is php itself.
i.e.
<?php if (something) { ?>
<?php echo "answer"; ?>
<?php } ?>
is the same as, but harder to read than
<?php
if (something) {
echo "answer";
}
?>
also where you have the
$_GET['page'] == main, and the same for fb, since main and fb are strings, not constants they should be enclosed in quotes. if php was set to display warnings, you would see warnings saying something along the lines of, undefined constant main, assuming 'main'...
so yea with my fix above i see no need for mod rewrite and you will still have the desired effect.