php - Loop through an array onsubmit -


i want loop through array each time form submitted character in array incremented each person in world receives character incremented person has used form. how do?

<!doctype html> <html> <body> <script type="text/javascript"> var = 0; </script> <form action="index.php" method="post"> country: <select name="country"> <option value="a">america</option> <option value="b">germany</option> <option value="c">greece</option> <option value="d">russia</option> <option value="e">uk</option> </select><br> postcode: <input type="text" name="postcode"> <input type="submit"> </form><br> number is: <?php $place = array("t", "u", "v", "w", "x", "y", "z"); $person = "number"; $i = 0; echo $_post["country"] . $_post["postcode"] . $place[$i] . $person;  ?> </body> </html> 


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -