<form method="post" action='<?php echo "$self_pg_link_rw/$t_urlttl/$pg" ?>' >
which gives a url of
http://mysite.com/Contracts/Approved-providers/113
but any hidden or other query string type variables dont get interpreted whether I use GET or POST
I think my mod_rewrite is not correct:
RewriteRule Contracts/([/]+)/([/]+)/(.*)$ index.php?sector=1&pg=$2&qs=$3 [NC,L]
friendly url is
mysite.com/Contracts/irrelevant pagename/123/var=22
what I then tried to do was do a request on "qs" (third term in mod_rewrite) hoping that would contain anything after my second forward slash
then I could use Php to explode that value to put it back into variables so getting any number of following query string type values
but perhpas I should be using QSA in the mod rewrite which (maybe) will just parse any appended values normally and put them into $REQUEST or $GET or $_POST as appropriate ?
in the actual mod_rewrite there are two following conditions to deal with
i) string with no query values
ii) string with no page number
but I dont think they are relevant here
(and to further complicate it there are then five sets of these three line rules to cover the five 'sectors' of the site)
am I making sense?