CakePHP Query Method Does Support Bind Parameters
Just came across a post from a few months ago where I stated that CakePhp doesn’t support bind parameters. I have learned since then that this is not true. Happily, it does support bind parameters. An example I have used successfully: function query_bottom_count($bottom_value, $start_uts, $end_uts) { $sql = <<<XSQL SELECT REPLACE( SUBSTRING_INDEX( SUBSTRING_INDEX( last_result_url, '://', [...]