Posts by Lucas • 13 points
3 posts
-
-1
votes1
answer117
viewsQ: Jquery How to add input values in real time?
I’m a beginner and I have a system where the user can add several inputs dynamically, precise that when typing the values (in decimals) the total sum is displayed in a div. If anyone can help me I’d…
-
0
votes3
answers228
viewsA: How to insert multiple arrays at the same time in the database?
I put the foreach, but the way I did is just saving the first array. function adicionar($compra){ date_default_timezone_set('America/Sao_Paulo'); $data = date('Y-m-d H:i'); foreach($compra as…
-
1
votes3
answers228
viewsQ: How to insert multiple arrays at the same time in the database?
I have a table and each row has 6 inputs that must be saved in the database as a product. The system has a button in HTML, which adds another line with 6 inputs, that is, when clicking on submit I…