How to use the tp5 model result method, and what values can its parameter $type take?
phpcn_u16587
phpcn_u16587 2019-07-16 21:24:57
0
0
976

Use the tp5 model result method (actually a method inherited from the Jump class) to return data to the front end. We only know that the parameter $type can be "json". I wonder if there are other parameter values? After testing, when $type is "", "array", or "collection", an error will be reported when calling.

phpcn_u16587
phpcn_u16587

reply all (0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!