You define your database format with three tables, and proceed to query them, showing that you can both emulate traditional SQL SELECT, and also provide an associative lookup.
定义一个具有3个表的数据库,然后对它们进行查询,既可以模仿传统的SQL SELECT,也可以进行关联查找。
It USES the SimpleXML module to read and parse the XML configuration file into a PHP object, and then creates an associative array mapping each defined chain to its name for easy lookup.
它使用SimpleXML模块读取XML配置文件,并将其解析为php对象,然后,创建一个关联数组,将每个定义的链映射到其名称,以便于查找。
应用推荐