It works inside Construct 2 but not when I export the project to my site. What can be wrong ?
the url I'm using is http://dicasebytes.com.br/html5/perguntas/adiciona.php, this is the same URL where my site is
Develop games in your browser. Powerful, performant & highly capable.
can you upload picture of your php header ?
Where are you hosting your server, what is the error you are getting?
Please consider checking the How do I FAQ category AJAX for example of use.