I want to use read. php obtains the url in the file and assigns a value to the following image and text reply template for reply. However, the detailed code of $ url is not properly referenced in the interface file. For example, thank you for your guidance.
I want to use read. php obtains the url in the file and assigns a value to the following image and text reply template for reply. However, the detailed code of $ url cannot be referenced normally in the interface file, as shown in.
Thank you!
Reply content:
I want to use read. php obtains the url in the file and assigns a value to the following image and text reply template for reply. However, the detailed code of $ url cannot be referenced normally in the interface file, as shown in.
Thank you!
At first glance, I knew it was a little white, and there was no programming Foundation at all.
I don't want to read so much code, but I really don't understand your first picture.
1. Yourread.php
No method is written.return
What?
2. We ignore Issue 1, so you havereturn
Why is there anotherreturn
? Why is there code?
... You are a problem... you can see that the subject has no programming Foundation.
We recommend that you first look at the basic syntax ~
You have deleted both the return and the return of the first file.
Let's go back to the basics. You directly return it. It's useless to write more below.
And learn sprintf again.
Even if you do not return, $ url is not loaded.
After include_once, the variables come in together. No return is required, and it is not a function.
Then, you do not need to include $ url in the xml file {}. You can parse the $ url directly.
Then, if the file is opened successfully or not, no echo can be written. If you print the text in this way, the interface will fail. You can only print the last xml file to be returned to the interface.
You didn't see any problems in other places, that is, you wrote too messy. There are a lot of source code on the Internet. You should check it first.