Questions tagged as 'mysql'

1
answer

How to query Sql in eloquent laravel?

I have a query on MySQl: SELECT E.EXPE_varHR,E.EXPE_varDescripcion, T.TIPO_varDenominacion,T.TIPO_booSAP, (SELECT SUM(EXPE_intDiasTramite) FROM gen_expedientes EX INNER join gen_tipos TT on EX.TIPO_intId=TT.TIPO_intId WHERE EX.EXPE_varRaizH...
asked by 26.06.2018 / 15:20
1
answer

PHP mysql query

I have the following problem I can not make a query to mysql from the html form, the error is in the mysql query    Unable to execute query.You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version...
asked by 26.06.2018 / 14:16
1
answer

Am I saturating my database? [closed]

Currently I have running 3 (three) desktop applications which consult 1 (one) time per minute a database to know if there are new features in it. The database is hosted in a website hosting (I have the DB of the website itself and another DB for...
asked by 27.06.2018 / 18:35
1
answer

pass jquery field values to php and save them to database

hello everyone I have a situation where I have two documents request.php and guardianship.php in the file request.php I have a to add fields. var nextinput = 0; function AgregarCampos(){ nextinput++; campo1...
asked by 29.06.2018 / 19:10
1
answer

Warning: count (): Parameter must be an array

I have the following error: Warning: count (): Parameter must be an array or an object that implements Countable in ... and I really do not know why you are giving it to me, the code is the following: ' protected static $conexion; private s...
asked by 23.06.2018 / 23:13
3
answers

Laravel MySQL Check if there is a record

Could someone help me to correct my laravel code so that before inserting a new record, check if that record exists? (to avoid duplicates) that is, if there is a record equal to the one to be inserted, do not allow registration, otherwise allow...
asked by 12.06.2018 / 19:41
1
answer

how can I validate input text without using button with PHP, MySQL

Good morning I hope you can help me with the problem I have about the validation of this input text ... I have 2 database tables and I need to validate two fields in one table and one field in another table. The detail is that I scan a barcode a...
asked by 21.06.2018 / 23:23
2
answers

Upload an image to mysql with php without the need for a form

Good to everyone as they are ..! Well my question is: can you upload an image to MySQL without having to make a form? What I want to do is that I automatically upload the images that are in a folder to the database, because I'm really doing a...
asked by 27.08.2018 / 08:52
1
answer

Why do not you save my mysql data via php?

html code <html> <head> <title></title> </head> <body> <form method="post" action="insertarp.php"> <b> Codigo Producto</b> <input type=text name="codigop" > <br><br> <b...
asked by 20.06.2018 / 19:33
1
answer

Error, I get an error that I do not understand, I'm starting

   Parse error: syntax error, unexpected '? > 'in C: \ xampp \ htdocs \ EPWeb \ Admin \ Presentation \ Aval.php on line 48 That error comes to me, I'm starting in php <section class="content"> <div class="box">...
asked by 19.06.2018 / 18:42