Home > Backend Development > PHP Tutorial > vba - I made the thinkPHP api myself. Why are the results returned different from those of others?

vba - I made the thinkPHP api myself. Why are the results returned different from those of others?

WBOY
Release: 2016-10-17 09:30:19
Original
1131 people have browsed it

I learned to use VBA to connect to the PHP API. My PHP function is written like this:

<code>    public function vba()
    {
        echo 170982358;
    }
</code>
Copy after login
Copy after login

Using the routing rules modified by thinkPHP, this function was made into a page..

But when calling it with vba, it is like this:
vba - I made the thinkPHP api myself. Why are the results returned different from those of others?

Although the result 170982358 was also returned, it was a mess;

But other people’s APIs return clean results. What should I do?

vba - I made the thinkPHP api myself. Why are the results returned different from those of others?

Reply content:

I learned to use VBA to connect to the PHP API. My PHP function is written like this:

<code>    public function vba()
    {
        echo 170982358;
    }
</code>
Copy after login
Copy after login

Using the routing rules modified by thinkPHP, this function was made into a page..

But when calling it with vba, it is like this:
vba - I made the thinkPHP api myself. Why are the results returned different from those of others?

Although the result 170982358 was also returned, it was a mess;

But other people’s APIs return clean results. What should I do?

vba - I made the thinkPHP api myself. Why are the results returned different from those of others?

You should be using thinkphp and enable Trace mode; this will result in debugging content being output. Just change SHOW_PAGE_TRACE in the configuration item to false

Related labels:
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