[eluser]xwero[/eluser]
This can only be done using javascript. If you want this in php there is another action needed, for instance a button that submits the states selection.
Changing get urls to CI urls can be done by replacing the key-value pairs with segments: site.com/show?cities=1 -> site.com/show/cities/1. This change is done in javascript.