Questions tagged as 'mysqli'

0
answers

save table record mysqli php

Hello friends, I need your help promptly and urgently. I have a table where I show information of clients that match and not co-residence with a comparison of two tables. I want to save that information in different tables. those that are valid...
asked by 23.04.2018 / 16:15
1
answer

Help with array of objects in $ _SESSION PHP and MySQL

I would like to know how I could do to load data from a BB DD and with that data loaded create an object for each row of the database that would be stored in an array of objects with $_SESSION for example, using this code: CLASSIC...
asked by 20.04.2018 / 18:43
1
answer

how to save the id of a combobox?

I have a table costs that has the activity table foreigner I enter the costs through a modal, there is a combobox of the name of the activity (outside of the activity table) and in the value I have the id_activity. echo '<o...
asked by 11.04.2018 / 23:15
2
answers

sql query error using php

<tr id="campo-select"> <td> <strong>Personas:</strong> </td> <td> <?php $consulta_listar_usuario = $usuario->listUserpordepartamento($conexion); ?>...
asked by 06.04.2018 / 21:48
0
answers

Error inserting SQL data

The error I receive is as follows:    Warning: mysqli_num_rows () expects parameter 1 to be mysqli_result,   boolean given in C: \ wamp \ www \ TicketSystem \ TICKET \ process \ val.php on   line 7 Code: <?php if(isset($_POST['us...
asked by 07.04.2018 / 16:27
0
answers

How do I solve this problem, when generating my report with the library Html2pdf, on the first page it shows me this sign "?"

I have tried eliminating the tr where is the sql cosulta and the "?" in my report, but when I add the sql query it generates my report but it also generates this "?" in my report vista_html.php <style > table { vertical-align: to...
asked by 05.04.2018 / 19:27
0
answers

Notice: Trying to get property of non-object in C: \ xampp \ htdocs

I want to compare two information tables equal and I want to know which ones match and which ones do not <?php //Clase para manejar la conexion a la base de datos class Connect...
asked by 05.04.2018 / 21:56
0
answers

compare two mysql tables and get records that match and those that do not

good I'm trying to consult my two tables in the database one is called (payments_page) which is filled with a payment form and the other is (payment_files) which is filled with uploading a csv file. both tables have the same rows and I want to c...
asked by 04.04.2018 / 17:03
0
answers

Is it correct to call the information of a table as indicated in $ profile and in turn to obtain the values with the mysqli_num_rows?

In the following code I have tried to obtain information from the table users of the BD and store it in variables that I can modify to then update this information in the database, but I get the following error:    Parse error: syntax error,...
asked by 22.03.2018 / 03:59
0
answers

Make a mysql php filter with different tables

Hello friends, I'm trying to filter for items that are in my database but in different tables. I have managed to make it bring me the values of a "headquarters" table but I want to add one that only shows me the values of the users that are o...
asked by 20.03.2018 / 18:35