Cancelado

Simple FIX

$query = "SELECT * FROM users WHERE login = '$user'";

$sth=$dbh->prepare($query);

$sth->execute; print $dbh->errstr;

if($rows=$sth->fetchrow_arrayref) {

$aid=$rows->[0];

}

The above code works fine, but i want:: $aid=$rows->[1];

Which is not working..i need to get the second column field value from the row...

Anyone who give a solution will be straight away given $6.

This is Urgent Pls

Habilidades: Perl

Veja mais: simple query, simple fix, rows, dbh, code fix, aid, straight , fix query, urgent solution, execute, fix print, print solution, simple user login, prepare, simple will, code simple, simple works, fix need, away, perl print

Acerca do Empregador:
( 0 comentários ) Hyderabad, India

ID do Projeto: #60357