if ($willLimitByDB ) $sql = preg_replace('/#([^#]+)#/i', '$$1',
$sql);
This does not give me the results I want, instead of the value of
$where in $sql, I literally get '$where' instead.
How do I substitute #where# with $where?
Thanx
Phil
$sql);
This does not give me the results I want, instead of the value of
$where in $sql, I literally get '$where' instead.
How do I substitute #where# with $where?
Thanx
Phil
Comment