PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mysql_fetch_object> <mysql_fetch_field
Last updated: Fri, 18 Jul 2008

view this page in

mysql_fetch_lengths

(PHP 4, PHP 5, PECL mysql:1.0)

mysql_fetch_lengths — Ottiene la lunghezza di ogni output nel risultato

Descrizione

array mysql_fetch_lengths ( resource $risultato )

Restituisce un array che corrisponde alle lunghezze di ogni campo nell'ultima riga caricata da mysql_fetch_row() oppure FALSE in caso di errore.

mysql_fetch_lengths() memorizza le lunghezze di ogni colonna dell'ultima riga restituita da mysql_fetch_row(), mysql_fetch_array() e mysql_fetch_object() in un array, iniziando con un indice pari a 0.

Vedere anche: mysql_fetch_row().



add a note add a note User Contributed Notes
mysql_fetch_lengths
10-Feb-2006 03:23
For the maximum length of a field (e.g. 10 for a VARCHAR(10) field), use mysql_field_len().

mysql_fetch_object> <mysql_fetch_field
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites