PHP For Schleife und Unknown Index?
- ChristianW
- Geschlossen
- Erledigt
-
-
-
-
Dann kommt undefined offset 0
//Mein Englisch ist peinlich
-
-
print_r($profile_client);
PHP$profile_client[$maxsockets] = array( 'inuse' => false, 'loggedin' => false, 'sock' => NULL, 'client_ip' => '0.0.0.0', 'client_con' => false, 'type' => 0 );
Edit: Klar bgeht das so nicht ich bin ja auch doof
$profile_client[$maxsockets] = $profile_client[100]Ist ja kein ENum wie in Pawn und würde somit nur für die 100 gelten die 0 1 2 usw bis 99 und über 100 sind dann logischerweise nicht vorhanden *gegendiewndkltsch*
-
breadfish.de
Hat das Thema geschlossen.