How to add a variables in a where condition?

How to add a variables in a where condition?

vijay178131vijay178131 Posts: 2Questions: 1Answers: 0
edited December 2018 in Free community support

****I try this code but it has a error********

Editor::->where( function ($q) {
$q->where( 'id',$limit );
} )

Answers

This discussion has been closed.