Sarius87
Banned
- Registriert
- Mai 2016
- Beiträge
- 888
Hallo. Was ist am folgenden Code falsch? Laut http://phpcodechecker.com ist es das }else{ . Doch was genau da.... ?
Danke für Hilfen!
Code:
<?php
if (isset ( $_GET ['V'] )) {
echo $_GET ['V'];
$V=rand(0,50);
if ($V==0)
if (false !== strpos ( trim ( $_GET ['V'] ), ' ' )) {
echo 'MEHRZAHL (Unwichtig ;) )';
}else{
echo 'EINZAHL (Unwichtig ;) )';
}
}
}else{
?>
<input name="_" type="text" required="required"><br><button type="submit" id="weiter">Weiter</button>
<?php
}
?>
Danke für Hilfen!