May I ask questions about using PHP to automatically generate a simple interface?
Source: Internet
Author: User
Ask questions about using PHP to automatically generate a simple interface & nbsp; ask: I have more than a dozen database tables, and then I want to input data in each table, one table corresponds to two interfaces, one is the list interface queried, and the other is the input interface. the input boxes on the input interface correspond to the fields in the database table one by one, ask questions about using PHP to automatically generate a simple interface
Ask: I have more than a dozen database tables, and then I want to input the data in each table. one table corresponds to two interfaces, one is the list interface queried, and the other is the input interface, the input boxes on the input interface correspond to the fields in the database table one by one. how can I do it as quickly as possible while using PHP? It is best to automatically generate an interface based on the database table, or click the mouse to generate the interface. Because of short-term use, it does not matter whether it is beautiful.
------ Solution --------------------
Use the yii Framework.
------ Solution --------------------
Simply read the field and filter out unnecessary parts of the generated form. just insert the php part of the database to the table according to the submitted array.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.