Posts by giovani vrech • 101 points
6 posts
-
0
votes2
answers59
viewsA: Loop does not return values on the screen
Oops, let’s try to solve your problem. Try to change the code: $('#custoProdutoTotal').val(data.custoTotalCompra); For: $('#custoProdutoTotal').html(data.custoTotalCompra);…
-
3
votes1
answer67
viewsA: How to make this simple operation return true?
It is returned false because of the floating point. Javascript uses a 64-bit floating point representation, it basically gives you an approximate value, so: To 0.1 in the format pattern binary64,…
-
0
votes3
answers51
viewsA: The image does not appear on the page
Oops, let’s try to solve your problem. First it is important to check how the image path is being saved in your database. For example: it may be saved the whole way (/path_image/pathNmage.png) or…
-
2
votes1
answer909
viewsA: Personalized messages with Validator
Oops, let’s try to solve your problem. I’ll pass an example that is working and is a good practice for validation in Laravel. <?php namespace App\Http\Controllers; use Illuminate\Http\Request;…
-
1
votes1
answer68
viewsA: My database does not register the data in mysql
I managed to solve the problem, in my code I am using datepicker, and it formats the date to the br standard and my mysql was only accepting the en standard, I have already made the adaptations and…
-
1
votes1
answer68
viewsQ: My database does not register the data in mysql
Guys, I’m trying to insert some data in my comic book, I’ve done this action in other systems and it always worked, but this time it’s not giving, it shows no error message, it just doesn’t include…