/ Published in: PHP
                    
                                        
Es werden 9 Tipps generiet, bei denen jede der 49 Zahlen wenigstens ein mal getippt wird.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
$rest = $lose[8][0]; # restliche Zahl im letzten Los
$zahlen2 = $zahlen1; # 2. Zahlenreihe wird erzeigt
$tipp9 = $block[$blocknr]; # Tipp 9 besteht aus den 5 Ergänzugszahlen und der Restzahl
$tippzahl = 1;
while ($tippzahl <= 8){
$tipp[$tippzahl] = $lose[($tippzahl -1)];
$tippzahl++;
}
$text = '<b>Vorschlag Lottotipps:</b>';
$text .= '<form action="/tools/lottospeichern.php" method="post">';
$zaehler = 1;
while($zaehler <= 9){
$text .= '<p>'.$zaehler.'. Tipp: '.$tiptx[$zaehler].'<input type="hidden" name="tip'.$zaehler.'" value="'.$tiptx[$zaehler].'"/></p>';
$zaehler++;
}
$text .= '<p>Superzahl: '.$super.'</p>';
$text .= '<input type="submit" value="Tipps speichern" />';
$text .= '</form>';
echo $text;
?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                