Questions tagged as 'insert'

1
answer

Problems with INSERT from PHP

I tell you my problem: I have a csv file with a certain amount of data, what I do is open this file and modify some fields that are badly loaded (Phones with spaces, hyphens, etc ...) and then I have to load them in my database. Postgress dat...
asked by 03.08.2018 / 23:03
0
answers

SQL server stops inserting records with my insert instruction

I have a table with records id(int) nombre(varchar(50)) 1 juan 2 pedro 4 aldo When executing my sentence $size = count($_POST['id']); $i = 0; while ($i < $size) { $id1= $_POST['id'][$i]; $nombre1 = $_POST['nom...
asked by 12.07.2018 / 18:12
0
answers

Use data newly inserted in Postgresql

Good day! I tell them what I want to do, this is the application cycle. What I need to do is starting from the user id ( id_user ) obtained in a query I do, delete in the table " user_status " the row where that id_user matc...
asked by 04.07.2018 / 14:30
1
answer

Value can not be NULL when you insert an image

When I try to insert an image to the MySQL database everything works normal, but when I run a function that makes the size of my image smaller and try to insert it, it shows me an error that says this is the code to select the image: pri...
asked by 26.07.2018 / 22:04
5
answers

insert save all the records of one table in another more date parameter

I want to save all the records that contain a "table A" in another "table B" when pressing submith event "button save current period Currently, my main page already contains 2 forms and I thought that to avoid saturating my tables and edita...
asked by 16.07.2018 / 21:55
0
answers

Trigger in MYSQL (Insert)

I'm trying to create a trigger in MYSQL. I was reading the documentation of MYSQL, some examples that I saw out there on the internet and, at the moment of truth (adding it to the console) marks me a syntax error. I do not know what it can be, a...
asked by 11.06.2018 / 01:25
0
answers

Laravel - textarea with several lines - Query Builder

I have a question and I do not know how to solve it ... I'm with my first project in Laravel and when I make an insert with the query builder of a field that was a multiline textarea, it removes all the line breaks. How do I keep it? Greet...
asked by 08.06.2018 / 10:53
3
answers

Php insert undefined

Hi, I searched the forums but I could not find the solution. I'm trying to enter records. <div align="center"> <form action="cliente_ingresado.php" method="post"> <div> <label for="identificacion" >Ident...
asked by 31.05.2018 / 20:38
1
answer

Insert enum field (mysql) multiple checkbox values

I need help to insert multiple values in mysql of a checkbox in a form: I have these checkboxes in my form <LABEL>Extras (los que procedan):</LABEL> <INPUT TYPE="checkbox" NAME="extras[]" VALUE="Vista Al Mar">Vista...
asked by 27.05.2018 / 19:34
1
answer

Select and insert php data

Guys, I doubt this data // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = " Select a.fe...
asked by 28.05.2018 / 23:06