mod_rewriteRule for 2 variables????

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

mod_rewriteRule for 2 variables????

Post by heerajee »

Hi,

A problem is there when two variable are being populated.
like.
<a href="abc.php?a=1&b=2">click here</a>
how will we use these two variable on the next page.
With one variable, this is rewrite rule.

RewriteRule ^xyz([^/\.]+)/?$ abc.php?stock_no=$1

so, for two variables what will be rewrite variable.
thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

what have you tried so far?
Post Reply