How Can We Help?
str_replace – Key Processing
$answers[str_replace(‘answer-‘,”,$key)] = $val
Above code strips ‘answer-‘ out of the key ‘answer-2’ and converts it to ‘2’.
My Photos
$answers[str_replace(‘answer-‘,”,$key)] = $val
Above code strips ‘answer-‘ out of the key ‘answer-2’ and converts it to ‘2’.