xhr.open('POST', WebsitePath + '/payment_consultation/' + order_id);
How to get the value of ‘order_id’ in my payment_consultation.php?
Inside your PHP code, you could add
var_dump($_POST); which should show the contents of that array. That’s the normal way you’d get it, but I presume you have some .htaccess magic going on so that might alter things. Perhaps you could
var_dump($_GET); as well, if POST contains nothing.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.