0 members and 6,474 guests
No Members online

» Site Navigation
» Stats
Members: 35,442
Threads: 103,075
Posts: 826,688
Top Poster: cc.RadillacVIII (7,429)
|
-
hey all,,, i really need help in PHP coding,,, can anyone help me on how to make this into PHP ?
so its just two drop-down boxes and a submit button,,,,
-
no one
ohh thats too bad,,,, well thanx any ways
-
Well what is it you need help with? How to make the dropdown boxes?
If you want help...
Screw you
If you make sigs...
Screw you
-
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!
-
nvm
i found an answer,,,
right here
http://www.7des.com/php/ver5/
-
nvm
i found an answer,,,
right here
http://www.7des.com/php/ver5/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|