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

search for in the

msql_fetch_object> <msql_fetch_array
[edit] Last updated: Fri, 24 Jun 2011

view this page in

msql_fetch_field

(PHP 4, PHP 5)

msql_fetch_fieldدریافت اطلاعات فیلد

Description

object msql_fetch_field ( resource $result [, int $field_offset ] )

msql_fetch_field() می‌تواند برای دستیابی به اطلاعات فیلد در یک پرس و جوی خاص استفاده شود.

Parameters

result

The result resource that is being evaluated. This result comes from a call to msql_query().

field_offset

آفست فیلد. اگر مشخص نشده باشد فیلد بعدی دریافت نشده توسط msql_fetch_field() دریافت می‌شود.

Return Values

شی شامل اطلاعات فیلد بازگردانده می‌شود. خاصیت‌های شی از قرار زیر هستند:

  • name - نام ستون

  • table - نام جدولی که ستون به آن متعلق است

  • not_null - 1 اگر ستون NULL نباشد

  • unique - 1 اگر ستون منحصر به فرد باشد

  • نوع - نوع ستون

See Also



add a note add a note User Contributed Notes msql_fetch_field - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites