Questions tagged as 'mysql'

1
answer

SQL query with two tables

I have two configuration tables, one general and one specific: table configurations : codigo contenido codigo_ga UA-GENERICO table configurations_domains : dominio_id idioma codigo contenido 1...
asked by 14.10.2016 / 22:42
1
answer

how to join with mysql + nodejs

I did this function to join between 2 tables but I think that is not the right way function insertarDatosToArchivos(){ objBD.query('SELECT ID_U from usuario', function(err, rows, fields) { for (var i = 0; i < rows.length; i++) {...
asked by 02.10.2016 / 02:01
1
answer

Collect data in modal Bootstrap and retrieve data from PHP at the same time (AJAX, PHP, MySql)

I receive data from a link and show them in a modal Bootstrap page 1 <a href="pagina" id="id" data-target="#edit-modal">Enlace</a> page 2 $('#edit-modal').on('show.bs.modal', function(e) { var...
asked by 28.11.2016 / 14:17
1
answer

How to create a JDBC pool connection in glassfish?

Greetings to all, I'm trying to create a jdbc pool connection mysql from glassfish, but at the time of creating it, it sends me the following error I do not know what to do to solve it, I hope you help me     
asked by 10.10.2016 / 01:52
1
answer

Mysql one to many relationship (bring the information at the same time)

If I have a relationship from one to many tables there are 5 tables the main one and the other 4 tables If I have to bring the information of the 5 tables at the same time what would be the correct way to do it? what I did were 5 different st...
asked by 09.10.2016 / 01:12
2
answers

how to keep two rows of records in $ _SESSION?

I'm looking for a way to keep in $ _SESSION two or more rows of records that are thrown by a mysql query, and then use those results in other queries. I usually pulled a single record row with: while($row=mysql_fetch_array($consultar))...
asked by 05.11.2016 / 13:48
1
answer

When saving a data in a nested table based on another table it loses data

I have a nested table where projects and students are stored called Proyecto_alumno, it has the function of registering students to the projects, the students and the projects are saved separately. It happens that when enrolling students to a...
asked by 08.09.2016 / 10:28
1
answer

Format a php report to be printable in pdf format using FDPF

It has the following report in php which I would like to give the format to be printable in FPDF <?php include 'conexion.php'; $proyecto=bd_rep1(); $alumno=bd_rep2(); $tutor=bd_rep3(); $alumnoi=bd_rep4(); $tutora=bd_rep5(); $asistema=bd_rep...
asked by 09.09.2016 / 19:57
3
answers

Send Table Data MYSQL-PHP to Another Table with FORM - $ _POST - foreach

I have a php table that is filled with a mysql database ... <table class="table table-striped"> <thead> <tr> <th class="text-center" colspan="24"><inpu...
asked by 24.08.2016 / 20:50
2
answers

Problem when inserting data in windows form c # form with sql

I am developing a program that I am doing for my class, it is a small program of a hardware store where product information is kept, clients (so that if it is a distributor, apply discount) , types of products and so on. The problem is in th...
asked by 26.08.2016 / 03:20