phpbar.de logo

Mailinglisten-Archive

[php] =?iso-8859-1?Q?RE=3A_=5Bphp=5D_Variable_durch_If-=28bzw=2E_If-?= =?iso-8859-1?Q?Then-Else-=29Abfrage_=E4ndern_-_wie=3F_-_wie=3F?= =?iso-8859-1?Q?Then-Else-=29Abfrage_=E4ndern_-_wie=3F_-_wie=3F?=

[php] =?iso-8859-1?Q?RE=3A_=5Bphp=5D_Variable_durch_If-=28bzw=2E_If-?= =?iso-8859-1?Q?Then-Else-=29Abfrage_=E4ndern_-_wie=3F_-_wie=3F?= =?iso-8859-1?Q?Then-Else-=29Abfrage_=E4ndern_-_wie=3F_-_wie=3F?=

Bossler, Ralph Ralph.Bossler_(at)_dresdner-bank.com
Tue, 19 Sep 2000 15:16:53 +0200


Hallo,
das Formular müsste ungefähr so aussehen:
...
<form action="test.php">
   <input type="text" name="Variable">
...

in test.php dann:

 If ($Variable == "NORD") {
 	$Emailadresse = "nord_(at)_feedback.de";}
 ElseIf ($Variable == "WEST") {
 	$Emailadresse = "west_(at)_feedback.de";}
 ElseIf ($Variable == "OST") {
 	$Emailadresse = "ost_(at)_feedback.de";}

mfG
Ralph Boßler
GB FI Intranet-Team
Dresdner Bank AG, Frankfurt



php::bar PHP Wiki   -   Listenarchive