Posts by Matheus Goes • 421 points
25 posts
-
2
votes0
answers75
viewsQ: Name polygons in google maps
I am using a google maps api to generate some plots and I would like to generate their names in the polygon itself as soon as I open the map instead of generating it in the balloon. code that…
-
0
votes1
answer834
viewsQ: Creation of Trigger for INSERT in another table in Ibexpert
Good morning, I had the need to create a stock control but I had never used Rigger. I have 3 tables COMPRA ABASTECIMENTO and MOVIMENTO_ESTOQUE Table MOVIMENTO_ESTOQUE : I would like when I make a…
-
1
votes1
answer4170
viewsQ: Insert various data into ibexpert
Good guys a little while ago I started using the Firebird and I have the following problem , when trying to insert some data directly in the IB Expert it returns me the following error : Invalid…
-
3
votes2
answers69
viewsQ: Filling of two equal inputs
Well I have the following problem, I have two inputs : Desconto<input type="text" name="desconto" id="desconto" style="width: 100px" > and Observação<input readonly="true" type="text"…
-
4
votes1
answer494
viewsQ: Add data from a column
id .. product...value...id_sale...total value 01 .. Pen.... 2,00.... 1....... 30,00 02 .. Rubber. 4,00.... 2........... 25,50 03 .. .Lapis...... 5,00.... 1........ 10,00 04 .. Pointer…
-
0
votes3
answers2019
viewsA: Update total value with quantity
Good guys after all I tried to solve, thank you all for your help. I got it with this code : <script type="text/javascript"> function id(el) { return document.getElementById( el ); } function…
-
2
votes3
answers2019
viewsQ: Update total value with quantity
Good guys I am with the following problem , I have a simple sales panel that shows the products, quantity, value and total value , so I choose a product appears the value of the item , the problem…
-
0
votes2
answers487
viewsA: Add product value
Get resolve using the following script : <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> function prodValor(id){…
-
1
votes2
answers487
viewsQ: Add product value
I have a simple panel selling some products : and I would like that when I choose any of the products over there from the combobox, the value of the product will change to the value of the product I…
-
0
votes2
answers125
viewsQ: Add product value to purchase
Good guys I’m with the following difficulty, I have a very simple panel for sale : as you can see I have a combobox with some products in it , my problem and the following I would need as soon as I…
-
0
votes2
answers4260
viewsA: Update page after sending the form
Good I can solve like this: header("location:cabecalho.php?&id={$id} ");
-
1
votes2
answers4260
viewsQ: Update page after sending the form
Good guys may seem something simple , but I’m not getting , I have an Insert page that works perfectly , after I do the Insert I use the <script> history.go(-2) </script> for back two…
-
0
votes1
answer917
viewsQ: List all data with the same id
I have the following problem: I have a table called pedido. In this table I get data from two other tables: I would like to make a list only of products that have the same id_venda. In my code only…
-
0
votes1
answer456
viewsQ: List only data from the same id
Good guys after a long time hitting the head with a certain problem I can solve it in a certain way (gambiarra) but now I need to know how to list data from my database that is of the same id , i…
-
1
votes1
answer1281
viewsQ: Various products within an order
I am with the following problem, I have a sales registration system, and in these sales I can add a product for each order, but as I would add several products to 1 order ? Registration code of the…
-
0
votes1
answer59
viewsA: Shows and hides content in Div in list form
Use this scrip to Hide the div , where this "test" you put the id of the div <script type="text/javascript"> function mostra() { if (document.getElementById('teste').style.display == 'block'){…
-
3
votes2
answers348
viewsA: Limit the database results?
Try using the LIMIT Clause would look like this $result = mysqli_query($conn, 'SELECT * FROM comentarios ORDER BY data DESC LIMIT 3');
-
3
votes2
answers1099
viewsQ: replace id by name
Good guys I have a table called sale and in this table I insert some data from other table up to there all blz , my problem and at the time of showing this data when I echo a screen does not appear…
-
2
votes1
answer140
viewsQ: Table multiplying the data
Well I’ve had this problem for some time and I’d like your help , have 3 tables that would be sale , vendaproduto , vendaservico . and I insert the items of the sale table in the other two tables…
-
2
votes6
answers710
viewsA: On Click only works once
<script type="text/javascript"> function mostra() { if (document.getElementById('teste').style.display == 'block'){ document.getElementById('teste').style.display = 'none'; }else…
-
3
votes1
answer1016
viewsQ: Error " Duplicate entry '1' for key 'PRIMARY' "
Good guys to with the following problem , when entering the data in a table I automatically insert the same data in the other two tables , but just right in the first row that I insert , when I…
-
4
votes3
answers918
viewsQ: How to do multiple Inserts at once?
Well I have 3 tables in my database, and I do one INSERT on the table sale, and as soon as I insert the data into it I would automatically have to insert it into the tables vendaservicos and in the…
-
1
votes1
answer7862
viewsQ: Send form without updating page
I have a registration page and I wanted it to be sent my form the page did not update and open a div occult. With the script below does not let my page refresh, but also does not send my form to the…
-
-2
votes1
answer729
viewsQ: Send form without updating page and show hidden div
Good guys I have a form that saves the data in the database and works fine , but I need to click submit the form appear a div hidden with the list of data saved in the database (I already have the…
-
2
votes2
answers3830
viewsQ: Insert data from one table into another
Guys, I’ve been racking my brain with this problem for a while now and I wanted your help. I have a code that inserts data into the table venda: <?php if(isset($_POST['send'])){ $venda =…