People try to give me strength here, I've already looked and I do not find an answer that suits me.
Come on!
I'm working with classes in php, I would like to pass data from a form via ajax. But I have doubts on running the URL, I do not know how it will stay.
$.ajax({
type:'post',
url:'DUVIDAAAA',
ajax:'1',
success: function (data){
alert(data)
}
});
In my url I need to get into my PHP class! but if I put a direct path it enters but the error because the instantiated class was not requested.
I call my classes with an autoload.