How to pass a parameter to limit records?
How to pass a parameter to limit records?
mgagne
Posts: 3Questions: 2Answers: 0
Again, not clear on the how to use the where clause in editor with serverside processing as true.
Basically I want to limit all ingredients to a datatable based off of a specific recipe. How can I quickly and easily use a param within a where clause to limit records based off of a specific recipe? I can do it by ->where('Batch', NULL)...but if I try to pass a param to ->where('Batch', $myparameter)..I get nothing but script output in dev toolbars... What am I missing?
This discussion has been closed.
Answers
What are the errors? Is
$myparameter
undefined? Are you sending it to the server-side? If so, how?Thanks,
Allan