Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($furniture as $fur)
- {
- Furniture Name: $fur->fur_name
- Furniture Country : {{ AppCountry::where('id', $fur->country_id)->first()->country_name }}
- }
- foreach($furniture as $fur)
- {
- Furniture Name: $fur->fur_name
- Furniture Country : {{ AppCountry::where('id', $fur->country_id)->first()->country_name ? AppCountry::where('id', $fur->country_id)->first()->country_name : "null/no record"}}
- }
Add Comment
Please, Sign In to add comment