My MySQL class library in PHP can only define variables after loading it with include. How to use the functions in it? It is useless to write the function name directly.
Please give me a detailed method. Thank you
You bad bad2018-07-13 16:20:55
Class libraries are generally used for inheritance. Your own project class inherits the extends class library. In this way, you can use the methods and things inside it in your own class. Do you understand this?
Summer2018-07-12 12:22:01
You can take a look at this: https://blog.csdn.net/toume/article/details/80995979
无忌哥哥2018-07-12 11:59:37
Directly copy the code encapsulated in the class library into your program, and then call it.