Posts by Dark Media • 145 points
8 posts
-
1
votes1
answer835
viewsQ: Add inputs according to the value of a field
I would like to know how to create input fields according to the value I add in a field. Ex: I have a number type field that has a minimum value of 1 the maximum value of 4 and the default value is…
-
2
votes2
answers3174
viewsQ: Limit Input to a range of values
I am creating a small shop that will sell shirts of an event and the sale of shirts will be limited to a maximum of 4 shirts per person, so I need that in the field where the number of shirts that…
-
0
votes3
answers632
viewsA: Replacement for TAG <center>
I don’t know if I understand it very well but if you want to center Ivs on the screen you can add CSS margin:0 auto; in the div that will be aligned to the center.
-
0
votes2
answers6303
viewsQ: Build dynamic HTML table with PHP
I’m wondering how to build a dynamic table with PHP. I am mounting an HTML table in which will be displayed some data registered in a database, already created the SELECT which brings the database…
phpasked Dark Media 145 -
1
votes1
answer1608
viewsQ: Display image to be loaded PHP
Hello I would like to know how to display an image that is to be loaded into a INPUT FILE For example, when the user clicks to upload the image and after selecting it how do I view an image Preview…
-
3
votes2
answers24015
viewsA: How to write multiple records in a table at the same time Mysql
I found in an article and will post the solution with a link. What I wanted is exactly what is in this article, insert multiple values into a database table dynamically where the first Insert could…
-
1
votes2
answers24015
viewsQ: How to write multiple records in a table at the same time Mysql
I need to record several records at once in Mysql for example. I own the tables PRODUTOS, CATEGORIAS and a third table that lists the two and also a form where I select the category and mark all the…
-
5
votes1
answer11274
viewsQ: How to insert data into two tables at the same time?
I need to make an insertion as follows: I have two tables TABELA 1 and TABELA 2 and a cadre form. This form has three inputs: input 1, input 2, input 3 The input 1 shall be inserted into TABELA 1.…