How to use the $where in server-side processing ?
How to use the $where in server-side processing ?
AlexandreDelachapelle
Posts: 9Questions: 3Answers: 0
Hi everybody !
Can someone explain to me how to use $where in server-side processing ?
For instance, I do it like this :
In ssp.class.php, I edited the function simple :
$data = self::sql_exec( $db, $bindings,
"SELECT SQL_CALC_FOUND_ROWS `".implode("`, `", self::pluck($columns, 'db'))."`
FROM `$table`
WHERE post_code = 47000
$where
$order
$limit"
);
It works, but I think the re is a better way, like editing the server_processing.php !
So, if someone has the answer, thanks in advance !
This discussion has been closed.