1 Create root directory file name a
Create index.php under 2 a
define('APP_NAME', 'a');
define('APP_PATH', './a');
define('RUNTIME_PATH', './Temp/');
require '../ThinkPHP/ThinkPHP.php';
3 Enter
in the browser
You should be talking about a data table. This needs to be created in the database. You open phpMyAdmin to create a new database and then create the table.
Thinkphp classes cannot be accessed from the outside. You should be talking about functions.
If it is only accessed by the own class, use the private statement
If inherited access is also allowed, use the protected statement
In addition, thinkphp does not allow external calls to methods starting with an underscore "_", even if this method is declared public.