Posts by Pras • 1 point
3 posts
-
0
votes0
answers37
viewsQ: Using PDO with PHP
Good morning, created a function to get the ids of all processes of a table, as shown in the code below function getProcessos() { $conecta = new PDO('mysql:host=localhost;…
-
-1
votes1
answer404
viewsA: Jquery button with click counter
I decided only by modifying the variable value. Now it is called quantity and I was able to get its value with the following code var quantidade = $(this).closest('tr').find("#quantidade").text();…
-
0
votes1
answer404
viewsQ: Jquery button with click counter
Good morning. I have in my html a dynamic table with some data coming from sql, among them a field "available quantity" and a button that at each click, make a request ajax and decrease the amount…