Posts by R. Pêgo • 81 points
13 posts
-
0
votes2
answers243
viewsA: How to return id of a record I just entered using Laravel?
If your table is structured with the Laravel standard (using "id") it would look like this: $customer = new Customer(); $customer->name_customer = $request->input('name');…
-
-1
votes1
answer37
viewsQ: My user does not handle files generated in PHP
Hello, I’m having a problem with permissions I don’t understand why my user doesn’t have permissions on files created by "php" Come on my user foo belongs to the following groups: adm cdrom sudo dip…
-
0
votes1
answer205
viewsA: Return the same Pagination after a post in Laravel
Dude you can use Laravel’s own helper, should help you, if it doesn’t help, I’m thinking of storing in Sesssion your last url and return with it. url()->Previous() But only if it doesn’t help…
-
0
votes1
answer49
viewsA: Take data from database 1 and pass to database 2
If you have access to Phpmyadmin it is easier simply to export and then import to the new destination. If you only have access to the command line you can use mysqldump something like: Exporting:…
-
-1
votes1
answer337
viewsQ: Laravel helpers do not work in shared hosting production mode
I have an Laravel 5.6 application hosted at Ycorn, there, because it is shared, I do not have SSH access, which makes it difficult to implement the framework. With that, the helpers {{asset()}} and…
-
0
votes0
answers29
viewsQ: Pass variable between PHP files
That may be a duplicate question, but I have this problem. I took a project to continue the service here and it uses old functions like mysql_connect, mysql_querry and I need to change it. ex:…
-
2
votes1
answer62
viewsQ: Ajax, PHP Problems when receiving data
Okay, guys, here’s my problem. I have a JS function to make a query in mysql database via ajax, it returns apparently correctly but when I try to access the value of "Undefined" This is an…
-
-1
votes3
answers455
viewsA: javascript onclick event with three functions
I do not understand very well, Voce wants to assign a click event and call these 3 functions? If yes $(botao).click(function () { proto(); nome(); doc(); });…
javascriptanswered R. Pêgo 81 -
0
votes1
answer153
viewsA: Onblur clears the field
For starters replace <input type="DateTime" onblur="clicaBotao()" name="dn"> for <input type="date" onblur="clicaBotao()" id= "id" name="dn"> And linking to direct Javascrit methods in…
javascriptanswered R. Pêgo 81 -
1
votes2
answers172
viewsA: How to display a modal(bootstrap) stating that the input type="file" cannot be null?
Maybe this code with Jquery should help. Inside this IF(), I’m not 100% sure of this but I believe it is in this sense $('#myModal1').on('shown.bs.modal', function() { var $me = $(this);…
-
0
votes0
answers461
viewsQ: Laravel Problem with passing parameters to Controllers
then I have a pertinent problem. I need to create a link to the.Edit controller to edit of course a value in the database. I’ve tried pretty much everything. But I keep getting an error:…
-
0
votes2
answers851
viewsQ: PHP - Laravel - Send a data entered in the database to another view
I’ve read questions about it, but I still can’t solve my problem. Here’s the thing, I have a separate Laravel view to register user. Ai in theory should redirect to another view where it will…
-
2
votes1
answer1471
viewsQ: Javafx Tableview apparently takes the value but shows null
Hello, I am migrating my program to Javafx to study only, I want to stop using Swing and pass only FX, but as in a previous time I gave up due to my difficulty in Tableview, without delay: I’m…