Skip to content

Tag: php

update div based on value passed with a button using ajax

I am displaying a calendar server side with php. Now I would like to scroll the months with 2 buttons (<< / >>) without reloading the whole page. There are loads of questions and examples, and I found some very close around forms, however, I have not really understood how to adapt this to a button…

Concatenate php in laravel

I am not very good at php. I have a function to check for an empty field and the correctness of email There is also a code in php.blade in which you need to insert this check How to do it correctly? I just pasted into @php and it doesn’t work Answer Here is a solution where you dont show