nsaidane nsaidane
4
I hope all good , i have order system project , its have 4 users , one of the user is sales rep when this users status change after clicking button , back end functionality is ajax call , ajax call point to controller and in controller status is chan...
tarang19 tarang19
1
I have a dropdown for select year after selecting year value type of is number but in my database required Date How can i convert number to Date base on selected year ?...
sr57 replied
Solved
afrasiyab_haider afrasiyab_haider
0
proudj proudj
2
Hi, I create simple login page and i have some problems. Move login page Enter email and password, click login button Login success and Move next page Click browser back button (move login page again, not login) ctrl + f5 (refresh webpage and send d...
Tray2 replied
Solved
pedroroccon pedroroccon
14
Hello guys! Thanks for the interest. Well, I have a question. In my application I have a form for populate my products table. Each product may have a unique ID and a unique code. I created a ProductRequest file with the follow code: public functi...
Tray2 replied
Solved
tarang19 tarang19
0
Wanted to show id on hover of node but i am getting undefine any one tell me where i done wrong i am using d3 + vue my code in d3 let tooltip = d3.select("body") .append("div") .style("position", "absolu...
I am fairly new to laravel and php, i was trying to create a delete button for comments section in my web application, I always got delete method is not supported for this route error untill i go change url manually and going back, then it started to...
msslgomez msslgomez
4
I'm facing this issue when trying to logout, I'm doing a simple <a> when getting this error <a href="/logout"> <button>Logout</button> </a> It works when I do this (Vue + Inertia.js) using an Inertia.js re...
Alex_B Alex_B
12
Hi, would anyone be able to walk me through doing a search with pagination in Laravel 7.x? For example I created this function in my UsersController: class UsersController extends Controller { public function index() { $data = User::p...
Ramlashkar Ramlashkar
3
import requests url = 'https://kargokart.in/api/login' data = { 'email': '[email protected]', 'password': '12345678'} r = requests.post(url, data=data) print (r) <Response [406]>...
Serpent Serpent
7
Hello. I'm try to fetch data from bank api with AXIOS and heve an error. I suffer 3 days with this error. I already read alot about CORS but didn't find an answer. I even tryed xmlHTTTPRequest with pure javascript and it worked, but AXIOS didn't! Ple...
Hi i want create request to database SELECT * FROM villages LEFT JOIN worlds ON villages.idworld = worlds.id WHERE worlds.openworld = 1 AND villages.iduser != $iduser AND villages.mainvillage = 1 right now i create $getallworld = DB::table('villa...
I just encountered a situation where I needed to write a workaround for an import from a db that is having issues. The sql where clause that selected the offending rows had a dozen conditions, so the obvious way to instead exclude the those rows is t...
w99910 w99910
7
Hello. In Laravel Sail, how can I access DB management UI like phpmyadmin xampp? With xampp, I can url like "localhost/phpmyadmin"...
w99910 replied
Solved
germanraffo germanraffo
4
¡Hi, folks! ¿How are you? I'm having some trouble trying to figure out how to get the latest reviewed games. I'll give you a bit of context. I have two tables: Games Reviews So: Reviews belongs to Game and Game has many Reviews I think that the l...
AydenWH AydenWH
4
May I know what is the proper way to iterate the $request->all()? I tried the following method, foreach($request->all() AS $index => $field) { # Return null dd($field); # Return null dd($index); # Return null dd($field[$index])...
jsamaniegog jsamaniegog
1
For the "sail up" command behind the proxy to work for me, I had to change the Dockerfile like this: ... ARG HTTP_PROXY ARG HTTPS_PROXY ... RUN echo "Acquire::http::Proxy \"$HTTP_PROXY\";" >> /etc/apt/apt.conf RUN...
marnixk77 marnixk77
2
Hi, I am having a controller that I need the access with post and get routing. The post request is getting userinfo to login to a api. The get request is used the redirect back after an error from a link on the page. But when I redirect back to the p...
swimmer swimmer
8
I have the following form request validation <?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class JsonUploadRequest extends FormRequest { /** * Determine if the user is authorized to make this request....
bobdebower bobdebower
2
hey i just want to know how to use this variable $auth = $this->authenticate(); from the class i created public function authenticate() { //declaring auth variables $username = env('API_USERNAME'); $password = env('API_PASSWORD'); $a...
I have a project and need this thing, but I can't find a word to search for it. to reduce development time, so I think it's better to have a packagist install. I have Inventory which stock goods. Each unit has a different volume and weight, or even h...
I want to connect the first database on first rest api request and at the same time i am able to make the second database connection, And so for each new remaining requests i want to connect on second database only without connection to first databas...
ChrisJCraft ChrisJCraft
1
I've been wanting something to do exactly the same thing and only think I know to do is ask? 😃 I assume it is there in most of his videos, but certainly is there in the following one. (You can see it at any point in the video, and it is a free to...
I'm working on a site where I need to check if a user has access to content on the screen. I created a method on my user model that will return me the result but it hits the db. I cache the result. On this page i need to check several times if the us...
I'm making a search agreggator and I've been wondering how could I improve the performance of the search. Given that I'm getting results from different websites, currently I need to wait to receive the results for each provider but this is done one a...
I use Spotlight every single day. However,Alfred seems very intriguing.Can you make a tut for it?I am sure that will boost everybody's productivity....
Hi, I need to pass a parameter subscription when the user signs up using Socialite. Unfortunately I can't get the parameter called subscription in the controller, if add a other parameter after {social_network} Socialite fail. Any idea? //Login with...
fabuy replied
Solved
apokall apokall
2
Hello. Faced a country problem. I made a payment, everything went well, from my site I received an url from the payment system, tossed a page using js to checkout, entered data on the card, after which there was a callback and a redirect from this pa...
Is it better to implement countable interface on model class for using count() on that models? or should i use count(array($modelObj)) I am just updgrading my laravel version, so i encountered the warning count(): Parameter must be an array or an obj...
Hello, there are laravel coding style rules: https://laravel.com/docs/4.2/contributions#coding-style Can someone share a PHP-CS-Fixer config for this rules?...
Molod replied
Solved
henrique_f henrique_f
2
Hello! After watching the VUE tutorials from the courses available I am looking to apply some features in my personal project. My goal is to create a form, which has two parts (1- a popup window; 2- a multi-step-form). So the user starts typing the d...
TL;DR: If a bearer-token request hits an endpoint with route-model-binding but with an incorrect token, the response should be 401 instead of 404. It is 404 though because the model is resolved before the token is checked. Environment: Laravel 8 San...
afrasiyab_haider afrasiyab_haider
1
Is there any player which have the same functionality as the frame.io player. Or anyone can suggest some players so we can customize its functionalities to work according to frame.io player?. Below is an introduction video of the frame.io https://www...
tarang19 tarang19
1
I need gauges plugin JavaScript, CSS, html 5 anyone know any example Just like https://www.speedtest.net/ circle plugin...
davaei davaei
7
is there any active discount for laracasts in 2020 ?...
Create a New Discussion Button