Questions tagged as 'mysqli'

1
answer

How to make an INSERT of an Array

Very Good ... The query is made to the db, this query only shows the income ids that are in table 1 called (INCOME) and are not in table 2 (BILLING) a chuekbox was placed where the user chooses to which of them will enter the invoice code, en...
asked by 24.07.2018 / 19:12
4
answers

Error adding 'NOT IN' in a query of prepared statements

By adding NOT IN in a query: $stmt = $conexion->prepare("SELECT producto,detalle FROM producto WHERE activo=? NOT IN ($producto) order by id_produ...
asked by 16.07.2018 / 22:42
1
answer

I have a problem with my edit button

I already have everything, I just need the edit button but it is not edited, I pass the HTML and the php. <?php include('php/registrar.php'); if (isset($_GET['edit'])) { $id=$_GET['edit']; $editar_estado=true; $r...
asked by 04.07.2018 / 22:02
2
answers

How to achieve an autocompletion in dynamic fields

Some time ago I have been looking for a solution to this problem, I have found many videotutorials and pages that report on the subject. But as much as I've tried, I can not find the solution to the problem. The idea is that you can generate...
asked by 02.07.2018 / 03:14
1
answer

Enter data using Php to MySql in multiuser

I would like to enter data at Mysql , I tried to use the following sentence: $query="SELECT MAX(cod_unico)+1 ultimo FROM $tabla"; but this does not allow it because it only brings you the last id but at the time of entr...
asked by 02.07.2018 / 09:00
1
answer

problem when sending data with ajax to mysql

good day I have this small problem and I would like to give me a hand I am trying to send data to my database through ajax and I work all messages and all alerts and when I send to send says that everything was sent OK but the data is not added...
asked by 05.07.2018 / 02:54
1
answer

Notice: Undefined index in a login with PHP and MySQL

I am creating a system where 2 logins, administrator and teacher can be made. The Administrator login works, but in case the user or password is incorrect, this error is marked. So far so good, but in the Professor's Login, I always see that err...
asked by 11.06.2018 / 08:26
1
answer

Error with a PHP and MySqli query

I have a problem when I make a query I get an error that I do not know and I do not know why this happens to me it says something with a function called stdClass and I did this function to see if it worked but not, what can I do in this c...
asked by 17.05.2018 / 05:08
1
answer

Error Fatal error: Uncaught Error: Call to undefined function execute ()

   Fatal error: Uncaught Error: Call to undefined function execute () in   D: \ xampp \ htdocs \ LOGIN \ validar.php: 14 Stack trace: # 0 {main} thrown in   D: \ xampp \ htdocs \ LOGIN \ validar.php on line 14 This is my code <?php ses...
asked by 30.04.2018 / 03:19
2
answers

Error counting list with PHP count

I have this function that brings me the tickets associated with a user_department of the user that enters the system function listTicketUnrevisedSupervisor($conexion, $id){ $consulta = mysqli_query($conexion, "SELECT *, t.id as id_ti...
asked by 24.04.2018 / 15:55