Welcome Guest, Not a member yet? Register   Sign In
Class not found when loading a library
#4

(03-22-2021, 08:37 AM)Kaosweaver Wrote:
(03-15-2021, 05:25 AM)fedeburo Wrote: Inside this library, i have a class defined that is :

class anythingToDo{
...
}[/font][/size][/color]

How can i create an object anythingToDo in another part of the project that is not in the FileDoSomething?


Have you tried:

PHP Code:
$todo = new anythingToDo(); 
as long as the FileDoSomething is included, that should work, right?
This is not working. The vs code catches the class, but when executing the function in the explorer says class not found
Reply


Messages In This Thread
RE: Class not found when loading a library - by fedeburo - 03-23-2021, 01:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB