How to solve php and get data. Then how to integrate the data and finally provide it to the interface, as shown in the figure below as an example

WBOY
Release: 2016-09-21 14:12:53
Original
775 people have browsed it

How to solve php and get data. Then how to integrate the data and finally provide it to the interface, as shown in the figure below as an example
Give me what I want, great gods, I don’t know how to ask or how to solve similar problems, sorry for the trouble, great gods,

Reply content:

How to solve php and get data. Then how to integrate the data and finally provide it to the interface, as shown in the figure below as an example
Give me what I want, great gods, I don’t know how to ask or how to solve similar problems, sorry for the trouble, great gods,

You want to become a big fat man in one bite.
Your problem is too big and needs to be broken down into several steps.
Solve the problem step by step.
First of all

<code>你先去解决如何拿到数据,php去数据库拿数据或者获取文档数据什么的都是很简单的,百度一下就好了</code>
Copy after login

Continue

<code>你获取的数据符合你显示的要求吗,不符合进行加工,组装成你想要的数据格式,一般是json数组
整理的过程也是自己去百度</code>
Copy after login

Finally

<code>怎么把数组传到前端,echo 和print都是可以的 如果框架的话就更简单了,然后在把它输出</code>
Copy after login

Step by step

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template