I want to get ranking number in Laravel. DB is here. id Bigint name string point BigInt ….. I want to get ranking number in point column. What should I do? now code is this. User::where(‘id’, 1)…
Tag: laravel
How to do this in laravel using Laravel subquery with groupby and where
select * from `eplan_vacancy` where `reference_id` in (select `eplan_ep_details`.`reference_id` from `eplan_ep_details` inner join `eplan_court_cases` on `eplan_ep_details`.`…
laravel – trying to set up virtual host on using xampp on mac
i am using laravel to create my website. I am using xampp but unable to connect website to the server.. i am getting the following error. Can anyone help? I am using mac by the way. Object not …
How to validate and insert data of multiple checkboxes in register.blade.php laravel?
I added 2 checkbox inputs to the register.blade.php file. I want one of them to be required, i.e. the user must select one or the other, otherwise I’d like to display some kind of error message like “…
Passing a variable to a ->each() function making the variable always = 0 php
One of the routes I’m making for my API in laravel requires me to pass a variable to a ->each() function. This can be seen below: public function by_location($zone_id) { $zone = Zone::where(‘…
Laravel – display data from using data ranges
I want to display data based on ranges within a drop down menu list.I currently have singular values where i would select the value 10 and it would display all values that = 10. Now i want to have a …
Dokku: PHP extension mbstring is missing when deploying Laravel application
I am still getting this error below saying that PHP extension mbstring is missing when deploying my Laravel application (version 6.17.1) using Dokku (version 0.18.3) even though I have followed the …
keep getting an error while saving data into database in laravel
I am using laravel ver “laravel/framework”: “5.8.*” I want to save the data into database with post request and my post data is I have searched on this many topics but I can’t get any information …
Laravel Search Form with Filters
I want to implement a search form in Laravel, I was watched every video on YouTube to do this, and tried many tutorials but my code doesn’t work. File web.php In my routes are a resource with CRUD of clients, which will also have a search, which I want to implement filters, by name, by state, etc……
command not being found even though I am registering it Laravel 6.x
So consider the service provider, yes I know I am registering this command in two places, but just give me a moment to explain: