I currently have a group of sprites that the player can add to when they click. I want to find a way to make it so that they play the animation at the same time (which is important since otherwise the conveyor belts will be out of sync). I've tried to do conveyors.playAnimation()
every time it adds something new, but that resulted in it "skipping" frames every time I add a new one. Is there a method I could use so that the new one starts at the same frame as the others?
i'm trying to display data from the database in the admin dashboard i used this: <?php use Illuminate\Support\Facades\DB; $users = DB::table('users')->count(); echo $users; ?> and i have successfully get the correct data from the database but what if i want to display a specific data for example in this user table there is "usertype" that specify if the user is normal user or admin i want to user the same code above but to display a specific usertype i tried this: <?php use Illuminate\Support\Facades\DB; $users = DB::table('users')->count()->WHERE usertype =admin; echo $users; ?> but it didn't work, what am i doing wrong? source https://stackoverflow.com/questions/68199726/how-to-show-number-of-registered-users-in-laravel-based-on-usertype
Comments
Post a Comment