Home >Backend Development >PHP Tutorial >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,
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>
Continue
<code>你获取的数据符合你显示的要求吗,不符合进行加工,组装成你想要的数据格式,一般是json数组 整理的过程也是自己去百度</code>
Finally
<code>怎么把数组传到前端,echo 和print都是可以的 如果框架的话就更简单了,然后在把它输出</code>
Step by step