I have a site which I have a function to validate if the email entered belongs or not to a user in blacklist (Blocked User). Which for the case that is fulfilled should not allow sending the form.
What validation should do is, validate if t...
I am making a store to my database in this way:
public function store(DocumentoAutorFormRequest $request)
{
// Se crea un objeto vinculo
$vinculo = new DocumentoAutor;
//EL ORDEN ES EL MAXIMO ORDEN +1
$orden=DB::table('cntrl_autor')->max('...
I have a query, it turns out that in my Events handler I receive all the events of a teacher but I would like to sort them by date
This is the index of my controller
public function index(Request $request)
{
$profesor = Profesor::fin...
How can you get a text field to search for a data that is in a drop-down list and that it automatically searches for the requested data from the text field? .
I found an example in Javascript very interesting, but when I called the text fi...
I'm trying to upload images to a project, after uploading 2 or 3 images I get the error
The page has expired due to inactivity. Please refresh and try again.
It takes me out of the session and when I try to log in, I get the same error...
I have the following structure in the routes:
Route::group(['prefix' => 'ventas', 'as' => 'ventas.'], function () {
//INICIO
Route::group(['namespace' => 'Inicio'], function() {
Route::get('inicio', [
'as'...
I have a test function in javascript and what it does is that when I select a developer in the select, I pass the name of this to an input, but it passes me the id (all the select fields are from the database) Could you help solve it? I just nee...
I am trying to upload my project in laravel to my vps server. I do not know how to manage several projects on the apache web server.
My directory structure is /var/www/html ... As I read in tutorials, it says that you have to leave the...
I have to pass the data of a form, by means of a controller to a new view (different from the form).
I have written the following:
In web.php:
//ruta para meter datos y llamar al controlador:
Route::get('/formalumno','AlumnosController@m...
I have a field called state and it is with a boolean attribute, I want to save it in the database when the input is in the checked state that stores the value 1 and the other one that stores 0, do you have any doubt about how to do it, Do you ha...