Menu
Hi, I want to email myself the contents of a post array ($_POST). This is just so i can check when errors are occurring during a curl request.
I just want to be able to view the post array as i would if i did: print_r($_POST).
But how do i add the contents to the mail function?
I need something like this (this just prints 1 for the array.)
mail(‘
Is there a way i can do this, another function perhaps?