Display only special value
Display only special value
Seppelchen
Posts: 69Questions: 25Answers: 1
Hello,
we had create a table. One of the column will store a customer id.
We also had create a call to get customer number.
If we output like
echo $customernumer
It will display this number.
How we can set up a rule, that datatable will only display rows who customernumber ==$customernumer on column customer_id ?
This discussion has been closed.
Answers
Hello, could anybody help?
The documentation for how to apply conditions in Editor is available here in the manual.
Allan
Hello Allan,
where we need insert this for example:
Into server_proccessing file? Or how we need insert? :?
You would insert it into wherever you are currently using the
Editor
PHP class.$where
is theEditor
instance created byEditor::inst
. If you don't create such a variable then you could just insert the->where()
into the method chain.Allan
Hello Allan, I dont know where I can insert your example...:(
Where I should place this code that it will be working?
Could you please let me know how i can made it working please? :(
I'm not sure how much clearer I can be to be honest. Can you show me the PHP that you are currently using where you construct the Editor instance?
Allan
Hello, we need help again.
We store into a table "archiv" a lot of entrys from different mandant. Where we could display only the data from the user who is logged in?
If we call
echo $user we get the id from mandant. How we can manage that only this lines from mandant will display?
DataTables and Editor don't provide any log in code. That would need to come from whatever software you are using for the login session.
Allan