Good afternoon, people.
I have foreach on my blade and would like to add one of the fields.
@foreach($occupations as $o)
<tr>
<td>{{ $o->invoiceId }}</td>
<td>{{ date('m/Y', strtotime($o->date_in...
Good morning, can anyone help me? I'm trying to connect my project to laravel hosted on ubuntu 14 apache2 using php 7.1 in a Microsoft SQL SERVER 2012 BD. I have already installed the FreeTDS libraries and configured them, as this link: link ....
I am having trouble adding a foreign key to laravel 5.4. Here is the code for migrations below:
Schema::create('anexos_posts', function (Blueprint $table) {
$table->increments('id');
$table->string('anexo');...
I have the following function and would like to use the following parameter method
public function graficos( Request $request ){
$id = $request->input('id');
$query = "SELECT * FROM tabela WHERE id = :id OR id = (SELECT...
I have a question about using Laravel's Localization correctly, I have an application in Portuguese and I have to translate it into English. My doubt is the following ex:
<h2>Isso será apenas um teste não fique bravo</h2>
I crea...
I'm trying out for the first time to develop a test website using Laravel and I'm following a video tutorial on youtube.
Everything is going relatively well, but I have a small question that needed your help.
I have a menu with 6 buttons:
l...
I'm new to Laravel and wanted to know if I can solve my problem without being in pure PHP, that is, using Laravel's own resources. Here's the current situation and what I want to do:
I have a table named Departments, where I include the depar...
I started to implement a chat and needed to update the div where the messages are inserted, but when I receive new messages I need to update the page to access, and if I set a timeout for every 10 seconds, and I'm still typing something there up...
I made a file to save the data of the citizen in an array, because only in another step will I have the confirmation if I should really store this data
<?php
namespace App\Services;
class CidadaoStore{
private static $cidadao = Array...