This function returns a list of tables inside a txtSQL database. If no database is given, txtSQL will search the selected database.
Important- To achieve the same results as this function before txtSQL 2.2.2 RC2, use the execute() function
Note- If no $db is specified and no database is already selected, txtSQL will issue an error
