Blogger Information
Blog 43
fans 2
comment 2
visits 113116
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
tp3.2通过getDbFields()方法获取表中的所有字段
朝游东海
Original
3192 people have browsed it

$field = M('GoodsAttr')->getDbFields();

得到结果:

    [field] => Array

        (

            [0] => goods_attr_id

            [1] => goods_id

            [2] => attr_id

            [3] => attr_value

            [4] => attr_price

        )


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post