Please could you help me what is the error in the following php code to update a record where the record mail is taken in the database ... when executing it I jump to the automatic error "noUpdate". I appreciate your help so that the sentence is...
I will try to explain my doubt in a simple way since it is something complex.
I have a table called formacion with the fields ID , Tipo , Categoría and SubCategoria
A table called alumnos with the fi...
I have a problem wanting to close a session in hibernate.
I enclose the code that works for me
public ArrayList<Empresa> getEmpresas() {
Session session = null;
SessionFactory sesion = HibernateUtil.getSessionFactory();
se...
I have a query SQL that brings the data that I want perfectly. When doing a print_r it shows it to me like this:
Array ( [0] => 6 [idFormacion] => 6 ) Array ( [0] => 9 [idFormacion] => 9 )
Array ( [0] => 12...
I am new in these areas I found your page on the WEB and I want a little hand for this system that I am doing, since my expertise with programming and web development is really basic and I am still in the process of perfecting myself and learnin...
I am starting to use TRANSACTIONS in PHP / MySQL but I am observing the following situation:
In my tests I have noticed that rollback is not necessary although I have read that they are always put to return the data to its original stat...
I do not know if it is possible, I pose the problem. I want to create records from a SQL query in date range One record per day. From the start date to the end date.
SQL query:
SELECT TRFEC1 as fecha_inicio
,TRFEC2 as fe...
I had an error in creating a FOREIGN KEY. I'd like to know what I'm doing wrong. Well, I've been trying for some time to find out what the error is. Thank you
Annex code Sql:
CREATE DATABASE freatico;
USE freatico;
CREATE TABLE medicion (...
I proceed to explain what the project that I just started is about to explain my concern.
It is a time tracking system but at its most basic level, nothing compared to the large systems that already exist (primaERP, Harvest etc) in which the...
I want to show a table in html of a query of the database of three tables that are related, the tables are structured as follows:
Restaurant | Platos | Precios
-----------------------------------------
id | id | id
nombre...