mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +02:00
Utilize where_link function
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1442 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -188,9 +188,10 @@ function where_check($val) {
|
||||
* @param string column identifier
|
||||
* @param string
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
function where_link($i, $column, $value) {
|
||||
return "&where%5B$i%5D%5Bcol%5D=" . urlencode($column) . "&where%5B$i%5D%5Bop%5D=%3D&where%5B$i%5D%5Bval%5D=" . urlencode($value);
|
||||
function where_link($i, $column, $value, $operator = "=") {
|
||||
return "&where%5B$i%5D%5Bcol%5D=" . urlencode($column) . "&where%5B$i%5D%5Bop%5D=" . urlencode($operator) . "&where%5B$i%5D%5Bval%5D=" . urlencode($value);
|
||||
}
|
||||
|
||||
/** Set cookie valid for 1 month
|
||||
|
Reference in New Issue
Block a user