Questions tagged as 'mysql'

0
answers

Help give me this error when doing query in Mysql Uncaught Error: Call to undefined function mysql_error ()?

Hello, I do not know why you give me that error, please help is urgent, what I want to do is send a file to the server (if it is sent), but it does not save the files in the Mysql database, the PHP version is 7.3.0 This is my code: include 'co...
asked by 04.01.2019 / 22:32
0
answers

Error inserting an array in mysql

I had to create this route of an array since I need to insert more than 1 million records in mysql and make an insert per record throws me error, I find that the ideal is to make a massive insert but at the moment of executing it throws me this...
asked by 10.12.2018 / 22:22
2
answers

BRING VALUE FROM A REFERENCED TABLE FROM ANOTHER IN LARAVEL

Good afternoon for everyone, I have a view where it shows me the values of my table orders, this table is referenced with another patient call, and the latter with a table called cities. the problem that I have is that the cities field does n...
asked by 10.12.2018 / 21:33
2
answers

as valid checkbox

I have a table with a list of materials and a check to the side are part of a form, what I want to do is not send my form until all the fields are filled with my check, because until the moment I fill in the form but it is sent even though I hav...
asked by 10.12.2018 / 20:11
2
answers

Get a single value of MySQL and store it in a variable with PHP

I need help to understand something basic. I have searched everywhere but the answers have not been simple. I have been trying to validate a specific type of user with ID_Profile = 001 to be redirected to "MenuExamenes.php" and users with ID_Pro...
asked by 10.12.2018 / 07:29
1
answer

How can I return all the users of a row and not just one?

How can I make it show all the usernames and the amount they carry? so far only the first user returns and the others do not ... <?php ini_set('display_errors', 1); error_reporting(E_ALL); $ayer = new DateTime(''.date('Y-m-d', strtotime(...
asked by 14.12.2018 / 02:09
0
answers

Query does not bring me data when pressing ASP button

Very well I have a form, a table, a button and a text box, the table appears empty apparently does not look for the data, (Pd the query manually if fucniona), but I guess my error is in the query , but I'm not sure ... hc.aspx <asp:Tex...
asked by 12.12.2018 / 16:59
1
answer

Problem with conditional mysql query

I'm doing a select to get the records between two dates but how much I use the conditional of (>) or (<) does not work for me since it does not show me any information with only (=) if it shows me the records but those that are equal to th...
asked by 13.12.2018 / 18:35
0
answers

because the data sent from the query is not captured

I have this query SELECT ID_ESTRUC_PRESUP, AN_FISCAL, CO_PROY_INST, CO_ACC_INST, CO_UNIDAD, CO_PROY_OPER, CO_ACC_OPER, CO_FUENTE, CO_GASTO, CO_GENERO, CO_CONDICION, CO_CUENTA_PRESUP, CO_SNC, $co_mes FROM sialuz5db.dbo.VW_SAL...
asked by 13.12.2018 / 17:30
1
answer

Node - a module is executed twice

I do not understand why the module query.js is executed twice so I read it might be for an arrow function, but I can not find the problem. const mysql = require('mysql'); //----------------------------------------------- require mysq...
asked by 08.12.2018 / 22:33