|
|
||||
![]() | ||||
There are several internal variables that are automatically defined once a database has been read by either the .DBARRAY or .DBHASH command.
These variables are overwritten every time one of these commands is invoked, so it may be necessary to save them into a user-defined variable if more than one database file is being read within a page.
| db_cols | The number of columns in a database array, or the number of keys in a hash (associative array). |
| db_rows | The number of rows in a database. |
| db_id | A unique identifier for this database file for this session |
| db_type | Either "array" or "hash", depending on how the database was read |
| db_err | Last database access error message. Not currently used. |
Home | Directories | Web Email | Calendar | Campus Map | Search | Help
About the College |
Admission |
Academics |
Student Life |
Athletics Copyright © 2001 Mount Holyoke College. This page created by the OIS Operations Group and maintained by Webmaster. Last modified on December 10, 2001. |