brianj
Apr 26th 2009, 1:20 am
Hi, simple problem:
I created a mod_rewrite rule
RewriteRule ^(.*)-(.*)$ index.php?keyword1=$1&keyword2=$2 [L]
#the url i want: mysite.com/keyword1-keyword2
How can i make that these 2 variables are printed out on access?
something like:
echo $1;
echo $2;
??
Thanks for help
I created a mod_rewrite rule
RewriteRule ^(.*)-(.*)$ index.php?keyword1=$1&keyword2=$2 [L]
#the url i want: mysite.com/keyword1-keyword2
How can i make that these 2 variables are printed out on access?
something like:
echo $1;
echo $2;
??
Thanks for help