MySQL Forums
Forum List  »  PHP

PHP: How to run a script, after a selection of an entry-form?
Posted by: Bernhard Rieder
Date: July 07, 2018 07:30PM

I created a form and the user can select from two countries.

Link: https://www.w3schools.com/code/tryit...e=FT37NIBVFVFJ

[html]<form action="mein-script.php" method="get">
<tr>
<td class="br_td">Wo hast Du Deinen Wohnsitz?
<select class="br_select" name="land">
<option value="germany">Germany</option>
<option value="austria">Austria</option>
</select></td></tr>
<input class="br_button" type="submit" target="_blank" value="Klick + Resultat zeigen">[/html]


If you select Germany, the script germany.php should be rendered.

If you select Austria, the script austria.php should be rendered.


How to do that?

Options: ReplyQuote


Subject
Written By
Posted
PHP: How to run a script, after a selection of an entry-form?
July 07, 2018 07:30PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.