The data type is defined in the data tag
- Items of data type 1 are questions directed at the user,
- Items of data type 2 are notes from a user,
- Items of data type 3 are user responses to questions,
- Items of data type 4 is teacher registration information
Database Structure:
all references to the db should be called and added to like this:
$db{'ID#'} Each database string at the ID# must also contain the ID#
at the beginning of the string. see below.
- db[0] = count for database. This allows there to be an id for each
database item, which allows multiple questions at the same location
- db[1] = user name
- db[2] = statistical information about how many times the db has been
called for each task
- db[3] = True/False Use a different parsing engine. This element allows programmers to implement their own display.
- db[4] = password for database
- db[5-10] = the application that uses this database's registration info
and contact information
Database Entry Syntax:
the actual data of types 1,2 and 3 starts at db[11]
Syntax for the data here follows. Notice that the pipe symbol
seperates the data and the colon seperates keywords. You can have
as many keywords as you like but the username must be first in the
string if you are calling for, editing, removing, or adding
data of type 2 or 3, and if it is data type 3, the second keyword must be a link id to the question the answer is revelant to:
"ID#|datatype|user=name|link=linkid#|keyword=value:keyword=value:keyword=value:keyword=value|data"