Ciao a tutti,
vorrei sapere come tradurre questo codice php in codice per VB6:
Codice PHP:
$utenti = array(
'Giuseppe' => '39rjd390',
'Michele' => '398jd3f90',
'Vito' => 'fj892309'
);
if(array_key_exists($utenti, $username)) {
if($pass = $utenti[$username]) {
$login = true;
} else {
$login = false;
} else {
$login = false;
}
Grazie,
foreach