Skip to content
Advertisement

php curl reponse not showing

php curl response not showing please help to fix. when I run this code I do not get any response from recharge.php file

JavaScript

here is recharge.php file

JavaScript

Advertisement

Answer

try this code, hope it will help you— your current file —

JavaScript

recharge.php

JavaScript

and also you should put return/die/exit after echo statement to avoid the code execution after json_encode

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement