IMind soft

Author's software




Being tested

Function savetodb

Writing functions:

savetodb(table, column, value)

Where table is the variable returned by the function opentable, column - number, a string representing the column name or index of the column where the numbering starts 0 (1st column), value - the value that needs to be updated or record, in the case of an external database (such as MySQL) - needed to comply with typing data, i.e. to add a data type match the database type of the same column, for example if it is a string, then write a line, and if a numeric data type, then use accordingly, the number of.

This function writes data to the table, the specified column, the current read/write pointer.

In order to update the information and add/update records, you need to use the updatedb function to update the data in the database.