Questions tagged as 'inserir'

3
answers

How to condition the insertion of a record in SQL Server?

How can I condition the insertion of a record into a table in SQL Server using the T-SQL language considering the following rules: If the record to be inserted already exists in the table, only update the field referring to the record modifi...
asked by 12.12.2013 / 17:15
3
answers

Is there a better way to insert an option in select with jquery?

I wanted to know if there is a better way to insert option into select with jquery. Example: <select name="municipio_evento" id="municipio_evento"> <option value=""></option> <option value="1">ACEGUA<...
asked by 07.10.2014 / 19:50
1
answer

Capturing the boolean value of a checkbox in PHP

I'm making a product form, where the user needs to report whether or not the product is used, but I'm having difficulty capturing the value of this checkbox , whether it is 1 or 0 , mysql the column is already set to...
asked by 03.12.2016 / 23:12
2
answers

How to reference foreign keys in registration forms?

I am making a website from a library as a college work, which has the following table in the database: MyproblemisthatIdonotknowhowtohandlethephpcodeandtheformoffieldsthatreceiveforeignkeys.Forexample,intheloanfileIneedtoreferencethebookthati...
asked by 17.11.2015 / 01:41
3
answers

Problem with INSERT INTO

I'm trying to make a INSERT in MS SQL , when running the code, there is no error, but does not INSERT in sql, when running a script manually in sql it writes without any problem I have tried both ways, which is also discus...
asked by 21.07.2015 / 17:18
1
answer

How can I insert the results of a query into another table?

I'm running the following query directly from the phpMyAdmin : SELECT shop.id AS cart_details_id, shop.id AS cart_id, e.name AS client_name, e.nif AS client_tin, e.addr AS client_address, CONCAT (e.zipcode, ' ', e.zipcodeext) A...
asked by 24.12.2013 / 18:27
1
answer

C program to solve mathematical expressions using binary tree

I'm trying to build a tree that gets a fully mathematic math expression [ex: ((a + b) + c)], but I think my insert function is wrong! Can someone give me a light? typedef struct arvore { char info; struct arvore*esq; struct arvore*dir; }no;...
asked by 16.10.2015 / 04:47
1
answer

Insert PDF

I have a problem with the PDF insertion code because the file name is not sent to the database. The code I'm referring to is this: Form: <form id="novoEventoForm" action="?page=docs_com&insert=new" enctype="multipart/form-data" meth...
asked by 09.12.2014 / 10:33
1
answer

Insert - Jump Lists / Skip Lists

I'm trying to implement the insertion algorithm of a node in a jumps list , but I'm not making progress with the solution because I do not know at what point is that I should add the node. So far I've done this algorithm: void i...
asked by 30.03.2014 / 03:06
2
answers

Insert in the Bank a data from a Combobox (PHP)

Hello, I am putting together a system for the college project. I have a relationship between City ---- State. Well, the state CRUD is already working and storing in the Database, when I go to register a city, that city needs a registered state,...
asked by 10.06.2017 / 08:05