> <?php > Session_start(); > $_SESSION['language'] = "en"; > You can set the session variable to the current get or maintain the original > passed.
I think you may have misunderstood. The problem is holding onto the existing GET variables in the URL while manipulating or adding one of them... and doing it dynamically no matter what the existing parameters are. My partciular problem scenario is this: directions.php?mode=DRIVING&lat=45.514516&long=-73.611056&zip=H4N+2W2&lang=en I would like the user to be able to switch between two languages via the $_GET['lang'] var. As for > Dear god, why would you butcher php like that? Your example is just as ugly as mine and in my editor is actually worse because the SERVER vars aren't highlighted. Thanks anyways. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php