Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select style="margin-top:5px; padding:10px;" name="anz<?=$i?>">
- <? for($a=1; $a < 100; $a++) { echo "<option value='".$a."'>".$a."</option>"; } ?>
- </select>
- <input list="artikelliste" type="text" name="artikel" placeholder="Artikel / Service" />
- <datalist id="artikelliste">
- <?
- $artlist= $pdo->prepare("SELECT * FROM artikel");
- $artlist->execute();
- while ($sb = $artlist->fetch(PDO::FETCH_ASSOC)) {
- echo '<option>'.$sb[name].'</option>';
- }
- ?>
- </datalist>
- <input type="text" name="e_preis" size="7" style="margin:5px 5px 5px 15px;" /> <!-- Sollte befüllt werden aus DATALIST --->
- <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