Posts by Marvin • 43 points
7 posts
-
-1
votes1
answer534
viewsQ: How to pass a Javascript Array to PHP
How to pass the Array newArray from Javascript to a PHP vector? The idea is to take the value id of each checkbox and put in a vector in PHP so that these id’s are treated in a database (as primary…
-
1
votes2
answers89
viewsQ: How to search for the selected value in Mysql/PHP and HTML?
Good afternoon! How to make one SELECTreturn the result only to the value completed in the form HTML? For example, if someone fills in the TRIP field that returns all the values that contain the…
-
0
votes2
answers101
viewsA: How do I get the value of a specific form from the previous page in PHP?
The solution was to take away the space that was in onsubmit and put true. onsubmit=" return false;" for onsubmit="return true;" in <form id="localizacao" name="localizacao" method="post"…
-
0
votes2
answers101
viewsQ: How do I get the value of a specific form from the previous page in PHP?
Good afternoon! A PHP page contains two forms form, each with a submit. How to obtain data from form 1, for example, after pressing the Submit through the POST? Usually when there was only one form…
-
0
votes1
answer490
viewsQ: How to place two Foms next to each other?
Good afternoon! In a PHP file you have an HTML form that contains a table and a submit. There is also a second form with another table and a 'Submit'. How to place the second form next to the first…
-
1
votes2
answers3351
viewsQ: How to enter and change the field in an HTML form?
How to make in an HTML form it changes from one field to another later when pressing the key Enter? (It naturally changes by pressing TAB). There is already a topic related to this subject, however,…
-
1
votes1
answer90
viewsQ: How to Return Existing Primary Key Error in PHP/Mysql?
Good afternoon. How to return an error when there is an attempt to insert a row into a table, and the primary key already exists? By default, the database does not insert the line. How to display…