简体   繁体   English

公司简介数据库与PHP HTML

[英]Company profile db with php html

so, i would like to create a php complex form that can store details about a company. 因此,我想创建一个可以存储有关公司详细信息的php复杂表格。 for each company would like to have multiple tabs where different data will be stored. 每个公司都希望有多个选项卡将存储不同的数据。 ex: tab1 company address, tab2: company network setup and so on... form should be able to input/retrieve data by users/admins 例如:tab1公司地址,tab2:公司网络设置等...表格应该能够由用户/管理员输入/检索数据

everything trough html/php page url rather then mysql 一切都通过html / php页面url而不是mysql

i`ll appreciate any type of suggestion/help.... 我会感谢任何类型的建议/帮助。

note: i would like to add this to an existing os ticketing system as different tab http://osticket.com/ 注意:我想将此添加到现有的os票务系统中作为不同的选项卡http://osticket.com/

Thank you! 谢谢!

Company details are commonly stored in a database, all data should be stored in a database, where the potentially complex structure of data and relationships between objects can utilise the common but complex sorting / reading / writing methods implemented by mysql, mssql, oracle or other dbms. 公司详细信息通常存储在数据库中,所有数据都应存储在数据库中,其中潜在的复杂数据结构和对象之间的关系可以利用mysql,mssql,oracle或其他方式实现的常见但复杂的排序/读取/写入方法dbms。 An example of an exception to this concept is a user's password, which should not be stored as plain text at all. 用户密码是该概念例外的一个示例,该密码根本不应存储为纯文本。

MySQL should be used for the storage of this data because it seems like the database is already being used, any more sources of data will require middleware like scripts to better synchonize the multiple systems being used. MySQL应该用于存储这些数据,因为似乎数据库已经在使用中,任何其他数据源都需要脚本等中间件来更好地同步所使用的多个系统。

PHP can write to the file system using fwrite() and the data can be read using fopen() PHP可以使用fwrite()写入文件系统,并且可以使用fopen()读取数据

Alternatively you can set up the company section using an API interface to the database, this way the company data may be fetched and delivered through SOAP or HTTP && JSON to be rendered using only HTML / PHP / XLST 或者,您可以使用数据库的API接口来设置公司部分,这样就可以通过SOAP或HTTP && JSON来获取和传递公司数据,从而仅使用HTML / PHP / XLST来呈现公司数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM