Posts by Vandemberg Lima • 129 points
8 posts
-
1
votes1
answer2734
viewsA: Place swal inside a js function
You are submitting the form, even canceling its submission before. Now I would make a change to the code Add one more parameter in the student exclude function, which would be a callback After the…
-
0
votes1
answer878
viewsA: SQLSTATE[08004] [1040] Too Many Connections
You can revise your code and try to isolate it better and subclasses, so you will better control the call of the connections. Try not to make multiple calls in the same method. If even dividing…
-
0
votes1
answer31
viewsA: I need to receive value from a redirect with with in controller
Actually when you use the Redirect::to('home')->with(variavel) this variable can already be accessed in your other method(home). To access inevitable you have to use a session. You can take the…
-
1
votes1
answer45
viewsA: Pass Value By PHP Javascript parameter
When you use web you are using client-server HTTP communication. This means that you perform an HTTP request to the server. The server in turn picks up your request and returns a response, usually…
-
1
votes2
answers200
viewsA: Nothing happens when calling . php file via Ajax call in pure Javascript
You have checked what is appearing on the broswer network? to check just click on F12 and check the network tab. Then perform the ajax request. A new field should appear, it will probably show the…
-
0
votes1
answer3521
viewsA: Configure Laravel Application on Production Server
Check some settings. You ran Composer install to install all dependencies? You gave read and write permission to the public and Storage folders? Your file . env is properly configuring? I recommend…
-
2
votes3
answers65
viewsA: Optimize the way to remove classes of elements
You can write a function that optimizes this by making code cleaner. function removeClass(className) { $(document).find("." + className).removeClass(className); } removeClass('control-corpo');…
-
1
votes1
answer434
viewsA: Many self relationship representation for many
Yes, the way to represent a many-to-many relationship is to break it into an intermediary table. For example in Mysql we would do: create table a( id int primary key auto_increment, text varchar(60)…
databaseanswered Vandemberg Lima 129