Posts by Amauri • 381 points
9 posts
-
1
votes2
answers1098
viewsA: How to write this SQL with Adonis query Builder?
Hello, have you created Models for each of these tables? If you can’t do it as follows: Disciplina.js 'use strict' const Model = use('Model') class Disciplina extends Model { static get table() {…
-
1
votes2
answers81
viewsA: Select multiple
When you send one select you don’t get your name, only the property value of the options selected as the sam well mentioned in the comment. See you later and welcome to Stack Overflow BR…
-
0
votes1
answer344
viewsA: Problems sending form in modal bootstrap
an alternative to this would be to use the Laravel Collective ( https://laravelcollective.com/docs/5.4/html ), Yes, I imagine the problem as already mentioned in the comments is the Token. PS: The…
-
1
votes1
answer32
viewsA: .htaccess remove vars name from url but leave vars
Hello, have yes would look like this on . htaccess : RewriteEngine On RewriteRule ^pagina/(.*)/(.*)/(.*)$ /pagina.php?route=$1&serv_name=$2&id=$3 Which at the end would look something like:…
-
2
votes1
answer521
viewsA: Jquery history.go(-1); does not work Chrome
I did a test with your code as follows from Chrome and it worked normally: <button type="submit" name="voltar" value="voltar" id="voltar" class="btn btn-default" style="margin-left:…
-
6
votes6
answers16533
viewsA: How to mount the HTML of a "select" via PHP, using data from DB
Your problem is quite simple Open, select should be a tag with the options inside this way: <select name="exemplo"> <option>Exemplo 1</option> <option>Exemplo…
-
2
votes4
answers1496
viewsA: jquery datepicker error does not work
A simple and succinct way to do this would be to create a specific class for the Datepicker, and add this class only to the elements you want such functionality. Ex: $(".datepicker").datepicker( ...…
-
3
votes1
answer365
viewsA: jQuery function does not work
If I understand correctly, what you want to do is call that function by clicking the correct button? If yes the code will look like this: change var Aprovar = function () { for: function…
-
6
votes1
answer114
viewsA: Time in PHP format
The function time() returns the timestamp current. If you want to create a timestamp at 18h of the current date, the code of the time() would be so: strtotime(date("Y-m-d 18:00:00"));…