Posts by Raylan Soares • 2,315 points
112 posts
-
1
votes1
answer316
viewsA: Error doing INSERT - Laravel 5.1 + Postgresql
Solved: In the variable that receives the value of the number(integer) I did the following: ($request->get('numero') == '') ? NULL : $request->get('numero') In the variable receiving the date…
-
1
votes1
answer316
viewsQ: Error doing INSERT - Laravel 5.1 + Postgresql
I have date fields in my form, but these fields are optional. When I fill in a date the registration is successfully performed, but if I leave the date field empty I get the following error:…
-
4
votes1
answer66
viewsA: Can I add a different number for each <li> created in a for?
Would that be? <?php for ($i = 0; $i <= NUMBER_OF_SLIDES; $i++) : ?> <li data-target="#carousel" data-slide-to="<?php echo $i; ?>" class="<?php echo ($i == 1) ? 'active' : '';…
-
1
votes1
answer379
viewsA: Accentuation in meta Description
I think it’s better to use the accents, imagine a Brazilian user searching through your site on Google and seeing a description with words misspelled... If you are going to extend the search in…
seoanswered Raylan Soares 2,315 -
0
votes2
answers634
viewsA: How to paint cell according to the value of a select?
Hello, I believe that’s it... replace the <td> who wishes to paint for this: <td class="<?php echo ($row['Cadastrado'] == 0 ? 'success' : 'danger' ); ?>">…
-
0
votes3
answers719
viewsA: How to get tickets that were open in May?
I believe your select needs to contain an undercurrent when searching for the state, like... (SELECT LAST(state_id) FROM ticket_history WHERE state_id LIKE 'open' AND id = th.id) I don’t know if the…
-
6
votes1
answer10692
viewsQ: Minimum and maximum limit of a number in a number type input
Hello, I would like to know how I can put a limit, a minimum and maximum number that can be entered in the field. For example, make the number typed in the field below not less than 0 and greater…
-
0
votes1
answer194
viewsA: Problem with routes with alias in Laravel 5.1
The error must be in the call. How you are making the call from that route? In the view using Blade for example: {{ route('categoria') }}
-
1
votes1
answer1135
viewsA: JS effect slip div and appear other
Hello, I believe it’s something like that... <script> $(document).ready(function() { $("#btn-cadastrar").click(function() { $('#div-login').hide('slide', {direction: 'left'}, 1000);…
-
0
votes3
answers9055
viewsA: How to change the text of a button when submitting a form?
$('#bt_login').val('Carregando...');
-
0
votes1
answer50
viewsA: Problem with Masked Fields
Hello, if I understand correctly the "TELEFONE_FUN" is declared in the model as number, then when you pass the masked value goes the parentheses and the hyphen together, then bad. Try to "clear" it…
-
-1
votes1
answer71
viewsA: Date appearing in 1 post only
Hello, try to use... echo get_the_date(); in place of the_date();