Closed tango4567 closed 3 years ago
Basically after doing some studies with help of $_POST and PHP Cookbook then i realized my sily mistake, if we use $_POST in index.php then we need to define full path including index.php then on $_POST variable work other wise it always return empty as mentioned in above problem. So I just gave path. :heavy_multiplication_x: https://tarunmahajan.com/api/email :heavy_check_mark: https://tarunmahajan.com/api/email/index.php
I hope this will help and I request you if found any mistake with this explantion please correct me Thank you.
Why I'm getting empty array all the time. Please suggest me whats wrong in this below code: