Our friend is making and ajax request (plain xmlhttprequest, no frameworks). When the ajax request is sent, the response is: <?php echo "hello"; ?> I think the file is not b...
Maybe the node router is reacting to both methods. can you print the request method? (idk much about node)
https://lmgtfy.com/?q=%20how%20to%20get%20data%20from%20database%20using%20micronout&s=g
I think the problem is with some routine. What's in the line 56 of the main file?
Have you tried opening Chrome dev tools and seeing requests?
A response from the php file? just do an echo or printf inside the file
What do you mean? i think that it's the full stack trace
Why not just echo json_encode($array); ?
And what is the table name?
<?php echo "Hello World";