lol,,, no i know how to make a drop-down box,,,,
but i used this code
Code:
<form action="process.php" method="post"> *
<br> *
<select name="language"> *
<option value="arabic">Arabic </option> *
<option value="english">English</option> * *
</select> *
<br> *
<input type="submit" /> *
</form>
in the index.php
and i added
Code:
<?php *
$language = isset($_POST['language']) ? stripslashes($_POST['language']) : ''; *
if ($language = english) * *
{ * *
*include ("lang/english.php"); * *
*setcookie("lang_eng", $language); *
} else { * *
*include ("lang/arabic.php"); * *
} *
echo "Your language has been set. *Click <a href=\"link\">here</a> to continue"; *
?>
this as "process.php"
but it didn't work,,, and by the way i placed all the files in correct locations
and this one is just for the language drop-down box!