Is there an error that should up? Are you in a blade there?
@ if (count(DB::table('setting')->where('hiring', '=', 1)->get()) > 0)
Probably another way to do it but I'm drawing a blank right now.
First errors was forgetting the '=', this is used to determine how you want to search, you can use...
foreach ($data1 as $stats) try that, I think you have it the wrong way round.
Also do
<pre>
<?php print_r($data1);?>
</pre>
to make sure you're getting the data properly.
Hello, My name is Dominic. Been around for a little while.
Main thing is I've recently had an idea I would like to implement but need someone with a little bit more skill than I at PHP. Although I can code some my self, I am much more proficient with C#.
The idea is basically a betting system...