Voll Upload SGD Fachinformatiker PHP
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
|
||||
function setOption ($wert, $text){
|
||||
$ausgabe = "<option value='{$wert}'";
|
||||
|
||||
if (isset($_POST["breite"])) {
|
||||
if ($_POST["provision"] == $wert) {
|
||||
$ausgabe .= " selected";
|
||||
}
|
||||
}
|
||||
|
||||
if(empty($text)) {
|
||||
$text = $wert;
|
||||
}
|
||||
$ausgabe .= ">$text</option>\n";
|
||||
echo $ausgabe;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user