Zitat von Hexcode
					
						
						
							
							
							
							
								
								
								
								
									Beitrag anzeigen
								
							
						
					
				
				
			
		
Also hab ich den Quältext kopiert und das Script gestartet. Leider bekam ich folgende Warnungen und Fehlermeldungen:
			
			
				Notice: Undefined index: a in [...]test.php on line 20
Notice: Undefined index: b in [...]test.php on line 21
Notice: Undefined index: c in [...]test.php on line 24
Fatal error: Maximum execution time of 15 seconds exceeded in [...]test.php on line 34
	Notice: Undefined index: b in [...]test.php on line 21
Notice: Undefined index: c in [...]test.php on line 24
Fatal error: Maximum execution time of 15 seconds exceeded in [...]test.php on line 34
Du solltest deine Variablen $a und $b mit sinnvollen Werten versehen, wenn das Script ohne GET-Parameter aufgerufen wird. Denn sonst läuft sich deine zweite While-Schleife tot. 0 * 2 bleibt immer 0.
 
           funktioniert ganz gut.
 funktioniert ganz gut.
 Moderatorin
 Moderatorin

Kommentar