[Solved] change num key to string key [PHP]


I do not exactly understand your problem ,if you want to make a table of login, you can proceed as well :

$login['login']=array('anneville', 'cjaouen', 'ebaltarejo','etc..' ) ;

or

$login=array( 'login' =>array (
                         'log1' => 'anneville',
                         'log2' => 'cjaouen', 
                         'log3' => 'ebaltarejo',
                         'logx' =>  'etc..' 
                         ) 
            );

0

solved change num key to string key [PHP]