When I send my form, after processing the data in the laravel save method the following error occurs:
QueryException in Connection.php line 769:
SQLSTATE[HY000] [2002] Connection refused (SQL: insert into 'users' () values ())
What is the s...
Oops I have two tables one with a Product name and one with a ProductName name. When I make the relationships in models, only the ProductCategory object returns the products, the Product object does not return the category.
class ProdutoCateg...
Project: link
I have a problem with the AJAX request (resources / views / templates / app.twig)
ajax - app.twig
$('.stars-default').click(function(e) {
e.preventDefault();
$.ajax({
url: '../app/Controllers/Poll.php',...
The following SQL performs two queries and "adds" the hard answers "sideways":
select * from (select id,name from client where id = 20) as a
join (select id,age from client where id = 20) as b
ON a.id = b.id
I wonder if it's possibl...
Hello everyone, I need to build a array as follows for a plugin:
var data = [{
"label": "Follows",
"color": "#aad874",
"data": [
["Seg", 50],
["Ter", 84],
["Qua", 52],
["Qui", 88],
["S...
I am on a sign-up screen where there is a combobox of State and Cities.
City must be populated after state is selected.
I have create.blade.php
<div class="form-group">
{!! Form::label('estado', 'Estado:') !!}
{!! F...
I have a slide show of images where the images registered in the bank appear. The table is called events . In this table there is a field called data_fim , which would refer to the end of the event date, and I also have a field called status...
I'm working with laravel and I'm implementing a menu based on permissions, I'm retrieving menu data from a table in my database. I created a model and in it I'm doing the logic to retrieve the menu items and if the item has a parent_id column wi...
Kindly, someone can help me. I need to create a progress bar for a PHP application using the Laravel framework. Example: When loading (displaying the DB list) a table with three thousand records displaying the status in a progress bar.
I am putting together an application, where an employee is registered, and this employee belongs to a company, which comes from the users table.
When I do the registration process, the following error message appears:
"SQLSTATE[HY000]: Gene...