Changed my url from
http://www.website.com/b.php?n=45&t=example
to this
http://www.website.com/45/example
by using this mod_rewrite
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/?([^/]+)/(.*) /b.php?n=$1&b=$2 [L,QSA]
How do I get my query strings to still work because I want to use $_GET
echo '<img src="gifs/' . $_GET["t"] . '/' . $_GET["n"] . '.gif">';
$_GETnot contain what you want? Is it simply thatn=$1&b=$2should ben=$1&t=$2?