i am building a (static) website which should be in 5 different languages.
i need a dropdown php script for choosing the language.
here is an example how the script looks for 3 languages (but without the dropdown function):
<?php
$docname = basename($_SERVER{'PHP_SELF'});
if($docname!='[login to view URL]') {
echo '&nbsp;<a href="fin.php">FIN</a>&nbsp;&nbsp; ';
}
if($docname!='[login to view URL]') {
echo '&nbsp;<a href="eng.php">ENG</a>&nbsp;&nbsp; ';
}
if($docname!='[login to view URL]') {
echo '&nbsp;<a href="sve.php">SVE</a>&nbsp;&nbsp; ';
}
?>
the dropdown function is needed to save horizontal space.
thanks alex