You’ve put $ch = curl_init(); on the outside of the function – which probably isn’t an issue, but it doesn’t make sense.
1 Like
You’ve put $ch = curl_init(); on the outside of the function – which probably isn’t an issue, but it doesn’t make sense.