Re: Arrays

From: Date: Mon, 05 May 2003 13:08:41 +0000
Subject: Re: Arrays
References: 1 2 3  Groups: php.general.es 
Request: Send a blank email to general-es+get-35823@lists.php.net to get a copy of this message
No, lo que te acaban de decir se lee así: print $mi_array[$nroitem][curso]; Si no, en vez de $mi_array[$i++] = $row; podrías poner $mi_array[$i++] = $row[codigo]; ----- Original Message ----- From: "Alphacom" <webmaster@alphacom.es> To: <lista@phpes.com> Sent: Monday, May 05, 2003 7:31 AM Subject: Re: [PHP-ES] Arrays > Gracias, > pero hay algo que no acaba d funcionar porque me devuelve un array así: > > Codigo: 0 --> Curso: Array > Codigo: 1 --> Curso: Array > > eso es porque esta vacía, no? > si pongo solo $row=mysql_fetch_row($r); o $row=mysql_fetch_array funciona > bien($r); > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/04/03

« previous php.general.es (#35823) next »