Index: phpdoc/en/functions/fbsql.xml diff -u phpdoc/en/functions/fbsql.xml:1.4 phpdoc/en/functions/fbsql.xml:1.5 --- phpdoc/en/functions/fbsql.xml:1.4 Wed May 9 11:53:07 2001 +++ phpdoc/en/functions/fbsql.xml Thu May 10 01:20:37 2001 @@ -92,11 +92,11 @@ Description - bool fbsql_autocommit - int + boolean fbsql_autocommit + resource link_identifier - bool + boolean OnOff @@ -142,7 +142,8 @@ optional parameter link_identifier. If a database is specified, this will default or current database after the user has been changed. If the new user and password authorization fails, - the current connected user stays active. + the current connected user stays active. + @@ -156,7 +157,7 @@ boolean fbsql_close - int + resource link_identifier @@ -259,7 +260,8 @@ ?> - See also + + See also fbsql_pconnect, and fbsql_close. @@ -275,9 +277,9 @@ Description - int fbsql_create_db + boolean fbsql_create_db string database name - int + resource link_identifier @@ -296,9 +298,9 @@ $link = fbsql_pconnect ("localhost", "_SYSTEM", "secret") or die ("Could not connect"); if (fbsql_create_db ("my_db")) { - print ("Database created successfully\n"); + print("Database created successfully\n"); } else { - printf ("Error creating database: %s\n", fbsql_error ()); + printf("Error creating database: %s\n", fbsql_error ()); } ?> @@ -319,7 +321,7 @@ boolean fbsql_data_seek - int result_identifier + resource result_identifier int row_number @@ -361,7 +363,7 @@ if(!($row = fbsql_fetch_object ($result))) continue; - printf ("%s %s<BR>\n", $row->last_name, $row->first_name); + printf("%s %s<BR>\n", $row->last_name, $row->first_name); } fbsql_free_result ($result); @@ -383,7 +385,7 @@ resource fbsql_db_query string database string query - int + resource link_identifier @@ -419,7 +421,7 @@ boolean fbsql_drop_db string database_name - int + resource link_identifier @@ -448,7 +450,7 @@ int fbsql_errno - int + resource link_identifier @@ -499,7 +501,7 @@ string fbsql_error - int + resource link_identifier @@ -550,7 +552,7 @@ array fbsql_fetch_array - int result + resource result int result_type @@ -625,7 +627,7 @@ array fbsql_fetch_assoc - int result + resource result @@ -684,7 +686,7 @@ object fbsql_fetch_field - int result + resource result int field_offset @@ -778,10 +780,8 @@ array fbsql_fetch_lengths - int - - result - + resource + result @@ -813,7 +813,7 @@ object fbsql_fetch_object - int result + resource result int result_type @@ -874,7 +874,7 @@ array fbsql_fetch_row - int result + resource result @@ -914,7 +914,7 @@ string fbsql_field_flags - int result + resource result int field_offset @@ -939,7 +939,7 @@ string fbsql_field_name - int result + resource result int field_index @@ -998,7 +998,7 @@ int fbsql_field_len - int result + resource result int field_offset @@ -1021,7 +1021,7 @@ int fbsql_field_seek - int result + resource result int field_offset @@ -1049,7 +1049,7 @@ string fbsql_field_table - int result + resource result int field_offset @@ -1072,7 +1072,7 @@ string fbsql_field_type - int result + resource result int field_offset @@ -1152,7 +1152,7 @@ int fbsql_insert_id - int + resource link_identifier @@ -1206,8 +1206,8 @@ Description - int fbsql_list_dbs - int + resource fbsql_list_dbs + resource link_identifier @@ -1262,10 +1262,10 @@ Description - int fbsql_list_fields + resource fbsql_list_fields string database_name string table_name - int + resource link_identifier @@ -1326,9 +1326,9 @@ Description - int fbsql_list_tables + resource fbsql_list_tables string database - int + resource link_identifier @@ -1355,7 +1355,7 @@ int fbsql_num_fields - int result + resource result @@ -1381,7 +1381,7 @@ int fbsql_num_rows - int result + resource result @@ -1427,14 +1427,9 @@ Description - int fbsql_pconnect + resource fbsql_pconnect string - - hostname - :port - :/path/to/socket - - + hostname string username @@ -1459,6 +1454,9 @@ fbsql_pconnect acts very much like fbsql_connect with two major differences. + + To set Frontbase server port number, use fbsql_select_db. + First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, @@ -1485,9 +1483,9 @@ Description - int fbsql_query + resource fbsql_query string query - int + resource link_identifier @@ -1585,7 +1583,7 @@ mixed fbsql_result - int result + resource result int row mixed @@ -1635,7 +1633,7 @@ int fbsql_select_db string database_name - int + resource link_identifier @@ -1683,7 +1681,7 @@ string fbsql_tablename - int result + resource result int i @@ -1721,8 +1719,8 @@ Description - bool fbsql_warnings - bool + boolean fbsql_warnings + boolean OnOff