V
V
VladRife2021-06-14 19:00:05
PHP
VladRife, 2021-06-14 19:00:05

Is it possible to somehow call the class with a url in php, or have the class run itself without being declared?

Is it possible to somehow call the class with a url in php, or have the class run itself without being declared?

class Delete extends Database
{
..code..
}

$delete = new Delete(); //вот без этого

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2021-06-14
@VladRife

more crutches of all kinds!
it is forbidden.
but, if you describe what you are trying to do / achieve, perhaps they will tell you how to do it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question