hey,
my php:
if(isset($_GET['text'])) {
$text = $_GET['text'];
} else {
$text = "default"; //if no ?text= set then print "default"
}
my .htaccess
RewriteEngine On
RewriteRule ^(.*)$ index.php?text=$1 [L,QSA]
the .htaccess works actually fine, except if i don't set text to my url my else statement ("default") doesn't work.
so if enter mydomain.com/whatthe everything works fine ($text = "whatthe";) however when i just call mydomain.com $text is empty instead of cotaining "default".
what do i wrong?