Skip to content

Tag: laravel-5.7

Laravel question, How to use _GET on Blade

I have a question that I cant solve at this moment. I have and URL like this: https://www.example.com/schedule/2020-02-26 i put the date on the URL with the next function: In this example $datevar is equal to “2020-02-26” My question is, How can I show the $datevar in my blade? Im trying with {{$d…

Is there a insertUsing with ignore option?

In Laravel there exist two useful methods in DB facade: insertOrIgnore() – allows ignore action when duplicate is being inserted insertUsing() – allows insert data based on data from another tables I need to combine these two approaches i.e. insert data based on existing data and ignore duplicates…

Laravel old method not returning password values

I’m currently learning Laravel and I’m creating a register form. When the form has errors I want to repopulate the input fields with their old values. My form looks like this: For readibility I removed all labels, classes and ids from the input files. It looks like Laravel doesn’t ‘wan…