controller
$getFurniture = Furniture::where('active', 1)->pluck('fur_name', 'id');
dump($getFurniture);
Table
As you can see, the codes return all the values from the furniture table, how can I exclude the value that is contained in the furniture_prices table as a result of a pluck query? Therefore, in this case, the user can select "fur5", "fur6", "fur8", "fur9", "fur10", "fur11" and fur12 "
source
share