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

search for in the

mysql_field_name> <mysql_field_flags
Last updated: Sat, 24 Mar 2007

view this page in

mysql_field_len

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

mysql_field_len — Vrací délku sloupce tabulky

Popis

int mysql_field_len ( resource $result, int $field_offset )

mysql_field_len() vrací délku uvedeného sloupce v tabulce.

Z důvodů zpětné kompatibility můžete také narazit na funkci mysql_fieldlen(). Tuto funkci však nedoporučujeme používat, neboť nemusí být již v dalších verzích PHP podporována.



add a note add a note User Contributed Notes
mysql_field_len
adam_nospam_hunger at yahoo dot com
30-Oct-2003 05:04
For a mysql type DECIMAL(8,4), the length is returned as 10 (M+2 as per documentation).

mysql_field_name> <mysql_field_flags
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites