For PEAR: DB_DataObject, the project directory is DBTest and the database name is db_object_test. There are four tables in the database. The directory contains the configuration file DB_DataObject.ini [DB_DataObject] databse = mysql: // root: wel about PEAR: DB_DataObject
The project directory is DBTest.
The database name is db_object_test. the database has four tables.
The directory contains the configuration file DB_DataObject.ini.
[DB_DataObject]
Databse = mysql: // root: welcome @ localhost/db_object_test
Schema_location = DBTables
Class_location = DBTables/
Class_prefix = DBTables _
The directory contains the php file CreatDBTables. php.
PHP code
start();?>
In addition, the directory is DBTables.
Run the php file. four php files can be generated under DBTables to store the object classes of the corresponding data table.
However, only the following results are displayed:
DB_DataObject_Generator: 0: DONE
In addition, no PHP file is generated in DBTables.
Why?
------ Solution --------------------
No ..