[eluser]furnak[/eluser]
Cheers for the replies,
I'll look at making it so that null values are represented,
Unfortunately I now have criteria set for how my segments look which means I have to change the segment query string to remove the variable ids.
So I have to go from this
/varName1/varVal1/varName2/varVal2/
to
/varVal1/varVal2/
If the variables are empty i'll make sure it's a -1/0/null whatever.
The site will be taking in deep linking so people can save search paths and these can also be linked from external sites.
How I've got it so far is that in the controllers constructor when instantiated the POST if isset is then processed where the segmented query string is then developed, this is then used to redirect the user using "header" back to the controller but this time with the segmented vars in the URI. While people who are linking to the site are routed to the search function.
I take it this means most of the URI helpers can't now be used for the site? Is there an easier way to do this that anyone can think of?