my base is: test, my table: user, inside the table I have two users name and password, when I enter the correct name and password for the user to accept a message of success, but I get this message
Connection error SQLSTATE [42S02]: Base t...
I have doubts about a query on mysql. I have two tables, one low call and the other called galleries. The low table has the id field and the name field and the galleries table has the id, the lower_id and the image. My question is this, would it...
Good morning.
My question is about whether phalcon does the validation of a field by default so that it does not duplicate when creating a user, specifically so that it does not allow to duplicate the identification number.
Thank you very...
I have a problem with a query:
private void cargar(){
query = "select idcte from clientes where nombre like '" + str1 + "';";
res = conn.Consulta(query...
I have a problem filling in the data of a table in a jsp.
My model is as follows:
The problem I have is in the index.jsp inside the menuProducts.
When filling in the information with the following code:
I do not get the d...
I'm trying to login with Classes and Objects.
The thing has been that when using Classes and Objects the register variable that an associative array saves is inaccessible now and it gives me an error,
require_once('conf_db.php');
class Bas...
I have the following problem.
I need to send some data already formatted or calculated in a php array via json to be displayed in datatables.
The issue is that I have tried several possible solutions and none shows information about it....
The problem is that the subquery does not get anything: What I want to get in the column [rs] is the name of the bank, it is currently returning null.
SELECT ta.id
,ta.idTarea
,ta.idConsignacion
,nomBanco.rs
FROM tar...
I'm doing a room booking system with Mysql, java and HTML.
I wanted to know How can you calculate the price of a room?
Depending on the days and the type of room, whether they have children or not.
And then as I insert it in the database. O...
I have two tables: Sales and history. In the sales table this is practically what the client owes, and in history what he has already paid for.
I want to make a query that tells me which product is the most consumed. For this I have to...