Questions tagged as 'mysql'

0
answers

Finder in AJAX does not work

Hi, I have a dynamic search and it's connected to a Base de Datos the problem is that I have a problem calling the function js , I do not know if I'm calling it right. Here I attach the code, it is divided into 3 documents....
asked by 30.07.2017 / 06:54
1
answer

How do I generate a PDF or an email from a registration in a form in php?

I already have my form for the data record but I would like that when I click on the "register" button in addition to sending the information to the BD, a PDF with the information that has just been registered will automatically be generated....
asked by 24.08.2017 / 15:35
0
answers

Angular, PHP with MYSQL error

I have a problem when I try to recover the JSON object returned by the PHP script. When the server returns the JSON object and retrieves the object in Angular I get an error. If I delete the res.json () conversion from the code, the error...
asked by 21.07.2017 / 12:10
2
answers

I can not save the image in the path of the error folder: Notice: Undefined index: photo in C

I try to save the image in a directory outside this directory called img , it happens that it does not save and it sends me the same error I can not find how I save the image. You can help me visualize the error, in the following code....
asked by 19.07.2017 / 20:14
2
answers

Problem with date in php and phpmyadmin

I have a problem to store the time in my database, I have a form from which a series of data is sent but for some reason the date is not inserted or only remain in zeros. <div class="form-group"> <label>Fe...
asked by 19.07.2017 / 21:04
1
answer

Problem when creating a json with a MYSQL query

PHP function ConectarBD(){ $conexion = mysqli_connect("localhost", "root", "", "adbsense"); if($conexion){ echo 'La conexión de la base de datos se ha hecho satisfactoriamente '; }else{ echo 'Ha sucedido un error ine...
asked by 20.07.2017 / 16:28
0
answers

Insert an array with PDO

I have a problem trying to insert an array This is the insert code public $campos=array("id_transaccion","id_producto","id_empleado","cantidad","id_cliente","fecha"); public $tabla="ventas"; public $tablaWeb="transacciones"; public...
asked by 07.08.2017 / 23:38
0
answers

Does not save the record in the DB - PHP and MySQL

The error basically lies in that it does not save the information on the remote server, in local if it makes the query correctly You are not running the query, I use similar queries for when you change the record from one table to another the...
asked by 24.07.2017 / 23:00
1
answer

SQL query to filter a table using two tables

I currently have 4 SQL tables in this way: CustomersTable, RegistrationTable, OrdersTable and OffersTable I have to write a SELECT statement that lists all the clients in the CustomersTable table (all fields), which contain rows in t...
asked by 22.07.2017 / 15:03
1
answer

I can not insert data using the php form

In my next form within a php page I try to insert an email and a password inside the database. But he does not specify me why I can not perform that operation and I get the error message "I do not turn out" <div class="panel-login"> &...
asked by 13.08.2017 / 22:41