hey all!
I've got a simple preg_replace function that looks like this:
$value = preg_replace('/#([A-Z])#/',$row[$1."_col"],$value);
I'm trying to replace the matched result with the value of a key in my array $row named A_col, B_col, etc.
However, this isn't working. Does anyone have any tips that can help me solve this very frustrating problem?
Thanks!