Advertisement
Guest User

Untitled

a guest
Aug 21st, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <select style="margin-top:5px; padding:10px;" name="anz<?=$i?>">
  2. <? for($a=1; $a < 100; $a++) { echo "<option value='".$a."'>".$a."</option>"; } ?>
  3. </select>
  4.  
  5. <input list="artikelliste" type="text" name="artikel" placeholder="Artikel / Service" />
  6. <datalist id="artikelliste">
  7. <?
  8. $artlist= $pdo->prepare("SELECT * FROM artikel");
  9. $artlist->execute();
  10. while ($sb = $artlist->fetch(PDO::FETCH_ASSOC)) {
  11. echo '<option>'.$sb[name].'</option>';
  12. }
  13. ?>
  14. </datalist>
  15. <input type="text" name="e_preis" size="7" style="margin:5px 5px 5px 15px;" /> <!-- Sollte befüllt werden aus DATALIST --->
  16. <input type="text" name="g_preis" size="7" style="margin:5px 5px 5px 15px;" /> <!-- Kann man dann ggf. aus EPREIS & ANZ berechnen --->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement