.htaccess help

Hi Folks,

Got to be honest not my hottest subject htaccess so I will ask the question and you can send me links to read up on.

Basically I have a RewriteRule that I want to return to the page that is requested from. For example I am on mywebsite/store/ and I click on mywebsite/store/add/my-book/ I would want the rewrite to bounce back to where it originated as mywebsite/store/?action=add&item=my-book.

(Have to excuse the non inclusion of http, I can add it because of the non 5 post rule)

Its probably not possible and I am probably going about this the wrong way, but thought I would ask.


RewriteRule ^mywebsite/store/add/([a-z0-9-])/$ /mywebsite/store/?action=add&item=$1