Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
PHP Developer's Dictionary- P91:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary offset in the result set. Possible return values include int real blob and string as well as the others defined in the MySQL documentation. mysql_field_flags Syntax string mysql_field_flags int result int field offset Description The mysql_field_flags function which is available from PHP 3.0 to PHP 3.0.16 along with PHP 4.0 and higher returns the field flags for field specified by the fieid_offset in the result set. The flags are returned as a single-spaced string that can be further manipulated using the explode function. The following flags can be reported not_null primary_key unique_key multiple_key blob unsigned zerofill binary enum auto_increment and timestamp. For backward compatibility mysql_fieldflags can be used. mysql_field_len Syntax int mysql_field_len int result int field offset Description The mysql_field_len function which is available from PHP 3.0 to PHP 3.0.16 along with PHP 4.0 and higher returns the length the field specified by the fieid_offset parameter in the result set. mysql_free_result Syntax int mysql_free_result int result Description The mysql_free_result function which is available from PHP 3.0 to PHP 3.0.16 along with PHP 4.0 and higher frees all memory associated with the result set. This IT-SC book 450 PHP Developer s Dictionary function is not typically used because a result set is freed automatically when the script completes its processing. mysql_insert_id Syntax int mysql_insert_id int link identifier Description The mysqi_insert_id function which is available from PHP 3.0 to PHP 3.0.16 along with PHP 4.0 and higher returns the ID that was automatically generated for an auto_increment column on the previous insert statement performed on the link identifier connection. If the connection is not specified the previous link is assumed. The return value will be 0 if no value was generated for the last statement. Note that the last ID generated can be retrieved using the internal MySQL function last_insert_id