How to get the right PHP output on HTML form select tag -


here whole php-code use, until

flug:

works fine:

<?php echo "//bestelldatum: " . date("d/m/y"); ?> <br> <br> <p>--------------------</p> <strong>kundendaten</strong><br> <br> <p>vorname: <?php echo $_post["firstname"];?><br></p> <p>nachname: <?php echo $_post["lastname"];?><br></p> <p>e-mail: <?php echo $_post["mail"];?><br></p> <p>telefon/mobile: <?php echo $_post["phone"];?><br></p> <p>--------------------</p> <p><strong>wünsche/bemerkungen: </strong><br></p> <?php echo $_post["text"];?> <br> <p>--------------------</p> <strong>wunschflug</strong><br> <br> <p>flug:</p> <?php     echo $_post["flight"]; ?> 

and html-code (selcet tag only):

<select id="flight">     <option value="wahl" selected="selected">*wählen sie einen flug*</option>     <option value="funflug">funflug</option>     <option value="thermikflug">thermikflug</option> </select> 

this last try made on one. tried other ways wont me 1 of options selected.

id doesn't posted names try this

 <select name="flight">     <option value="wahl" selected="selected">*wählen sie einen flug*</option>     <option value="funflug">funflug</option>     <option value="thermikflug">thermikflug</option>  </select> 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -