I have a string which will contain a file upload name, for example "image.jpg". I'm trying to use the explode function but it's returning an error "explode() expects parameter 2 to be string, array given in..."
I've tried looking for reasons why and comparing it to how use is instructed on PHP.Net but to no avail.
$upload_extension = end(explode(".", $feature_icon));