Hi, i have some rewrite code like: RewriteRule ^([a-zA-Z0-9\_]+)/?$ /index.php?box1=$1 [L] PHP: Now i'm trying to echo <div> boxes from a url like: domain.com/item1-item2-item3 but the problem i have is that the url might have up to 10 items for comparison, so the rule needs to be infinite.. anyone has an idea for that?
Route all the ^item... urls to the same script and parse them with php/preg_match_all preg_match_all('/([\w\d]+)/m', $subject, $result, PREG_PATTERN_ORDER); $result = $result[0]; PHP:
Hm, i don't get it... is this comparable to: RewriteRule ^([a-z]+)$ /index.php?box1=$1 [L] RewriteRule ^([a-z]+)-([a-z]+)$ /index.php?box1=$1&box2=$2[L] RewriteRule ^([a-z]+)-([a-z]+)-([a-z]+)$ /index.php?box1=$1&box2=$2&box3=$3[L] PHP: ? This is actually what i try to do: Thanks for help
Message me with an elaborate idea i can give you the quotes! I know that you're going to display the products in boxes to compare right???