★abs
Effect: obtains absolute value.
Syntax: Mixed ABS (mixed number);
★acos
Function: Obtain the inverse cosine value
Syntax: float acos (float arg);
★ada_afetch
Function: Gets the return column of the database.
Syntax: int ada_afetch (int result_id, int rownumber, array result_array);
Description: Puts the column data returned by the database into an array variable. The parameter result_id the ID value returned for the database. The parameter rownumber is the specified get column. The parameter result_array is an array of data that gets the column, usually preceded by a "&" symbol.
★ada_autocommit
Function: Switch Automatic update function.
Syntax: int ada_autocommit (int connection_id, int [OnOff]);
Description: This function is used to turn the automatic updating feature on or off. The parameter connection_id is the ID value of the database link. The default value of the parameter onoff is on, which means that the auto-update feature is turned on, or off if you want to turn it off.
★ada_close
Function: Close the Adabas D link.
Syntax: void ada_close (int connection_id);
Description: This function is used to close the link to the Adabas D database. The parameter connection_id is the database link designator ID value.
★ada_commit
Role: Change the Adabas D database.
Syntax: int ada_commit (int connection_id);
Note: If you set Ada_autocommit () to update the database automatically, you do not need to use this function.
★ada_connect
Role: Link to Adabas D database.
Syntax: int ada_connect (string dsn, string user, string password);
Description: The return value is the link's codename ID value. The parameter DSN is the data source name. The parameters user and password are the linked account number and password respectively.
★ada_exec
Function: Executes the SQL instruction.
Syntax: int ada_exec (int connection_id, string query);
Description: The parameter connection_id is the Adabas D link designator ID value. The parameter query is the command you want to execute. The return value is the result ID value.
★ada_fetchrow
Function: Gets a column returned by the database.
Syntax: int ada_fetchrow (int result_id, int [row_number]);
Description: The parameter result_id for Adabas D returns the ID value. The parameter rownumber is the specified column and can be omitted.
★ada_fieldname
Function: Gets the field name.
Syntax: string ada_fieldname (int result_id, int field_number);
Description: The parameter result_id returns the ID value for the Adabas D database. The parameter field_number is the specified field.
★ada_fieldtype
Function: Gets the field type.
Syntax: string ada_fieldtype (int result_id, int field_number);
★ada_freeresult
Function: Releases the memory used to return the data.
Syntax: int ada_freeresult (int result_id);
Description: The parameter result_id the ID value returned by Adabas D.
★ada_numfields
Function: Gets the number of fields.
Syntax: int ada_numfields (int result_id);
Description: The parameter result_id the ID value returned by Adabas D. Returns-1 if an error occurs.
★ada_numrows
Effect: Gets the number of records returned by the query result.
Syntax: int ada_numrows (int result_id);
Description: The parameter result_id the ID value returned by Adabas D. Returns-1 if an error occurs.
★ada_result
Effect: Gets the return result.
Syntax: string ada_result (int result_id, mixed field);
Description: The parameter result_id the ID value returned by Adabas D. The parameter field can be a numeric type that represents the specified field ordinal, or it can be a string type for the specified field name.
★ada_resultall
Function: Returns the query result in the form of an HTML table.
Syntax: int ada_resultall (int result_id, string [format]);
Description: The parameter result_id the ID value returned by Adabas D. The parameter format is a special configuration value for the table and can be omitted.
★ada_rollback
Function: Undoes the current query operation.
Syntax: int ada_rollback (int connection_id);
Description: Returns False if the operation successfully returns TRUE.
http://www.bkjia.com/PHPjc/446018.html www.bkjia.com true http://www.bkjia.com/PHPjc/446018.html techarticle ★abs Effect: obtains absolute value. Syntax: Mixed ABS (mixed number), ★acos effect: Get the inverse cosine syntax: float Acos (float arg); ★ada_afetch effect: Get a few ...