Good night, I do not know what I'm doing wrong, I have two models, in the migration I created it so
Schema::create('endereco_tipos', function (Blueprint $table) {
$table->increments('id');
$table->string('nome');...
The form in the edit part does not display the value coming from the database.
All other form fields are returning the value I get in the database.
Here's how I'm doing:
<div class="col-md-3">
{!! Form::label('departamento','Depart...
I have a Laravel application hosted in a subdomain and need to allow its API (which has a single POST route) to be used only by the application hosted in the main domain.
What is the simplest way to protect this route? I thought about using J...
I have 3 tables, [Users - > Departments - > Postings] where the Users table has many Departments Departments have many Postings.
My question is: How do I relate the 3 tables with the with () method where (where () () is this logged in w...
I was able to include the attributes through an auxiliary table by this question:
Save multiple attributes to the same object in Laravel
I would now need what was set in this helper table to be selected in the edit form
Controller:...
I am querying the database (sql server) for user and password validation with laravel 5.4 but the query is being run as case-insensitive.
In the database it is:
pwd = Aa12A
Input receives:
password = aa12a
The result is:...
I have a Grid with the edit button when I click on it it accesses the Controller and brings the data of a certain user into a Modal.
But it's just bringing in the first user I click.
Follow the code:
Grid Link
<a href=".../show/{...
Developing an application using Laravel 5.2, PHP7.0, Apache2 and CentOS 7, I'm having the following error: MethodNotAllowedHttpException .
On the local server it works normally ... when I publish to the production server the error occurs, it...
The query that works in PhpMyAdmin:
Select sum(D.CargaHoraria) as CargaHorariaTotal, C.NomeCurso, C.CursoId, A.Imagem
from Curso C
inner join Disciplina D on D.CursoId = C.CursoId...
Hello, I'm starting to work with laravel 5 and am having a problem when I run the migrate commands the data is lost in the database, is this expected?
The command php artisan migrate works on the first call and the other php artisan...