Editor (ajax) - how can we use the query wildcard "%"
Editor (ajax) - how can we use the query wildcard "%"
my problem:
i have different admin groups who can connect to editor. so they can read and edit different datas from the database. after login the admin gets a $_SESSION-Variable, like:
$_SESSION['website'] = '%'; // for the Superadmin
$_SESSION['website'] = 'domain.com'; // Normal Admin
but the % wildcard doesn't work - i don't get datas.
like:
->where('db_table.table_field', '%')
->debug(true)
->process($_POST)
->json();
This discussion has been closed.
Answers
Nobody who can help with this. ?
Just
%
is actually a noop condition - it would be better to do this:Allan
thx allan - that does the job!