I decided to create a website builder where users can sign up, create their shop, put their products. The issue is I can’t understand how website builders automatically generate the website and assign the subdomain to the website so that the user can access it instantly and, on top of that, they can use their own domain. I just can’t figure out a solution that can automate this stuff. I have no idea how to do this.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/JTPrv78
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