Home  >  Article  >  Backend Development  >  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
WBOYOriginal
2016-10-17 09:30:191092browse

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>

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>

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

Statement:
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