so I have a php file that brings information from a database about an user. My idea is that when an button is pressed I send the id to the php file and the get the user that corresponds. However I can't seem to execute the php file, and the ajax response is empty.
How can I fix this? Thank you for your help
EDIT: I removed the die function, and add the echo the $usuario array. Now i get it in the response but i have a dumb question: how do i access the data of that array? Thank you again