I am setting up a virtual machine as a database server on a CentOS 7 and I want to open port 3306 to connect from the host machine.
The rule that I have set is the one shown in the capture
However, it does not allow me to connect, wh...
This is my first message in this forum.
I have to print the results of several sections, for example, the articles in the "fes_articles" table and the comments in the "fes_comments" table.
At the beginning they ask me first on the left to tak...
Hello good afternoon, I have been trying to solve a problem for a while
I'll explain:
I have a form that when I send the data I store it in an associative array to pass it in the constructor of the class since there are many variables and...
Hi, I am using a new installation of ubuntu server 16.04.3 LTS, I have problems when inserting a string in mysql, I think it needs configuration and I have it by default.
The fact is that when I send a string for $ _POST of more than 164 char...
Greetings to the community, I do not usually ask much, but this time something is giving me a headache, I am a beginner and I have a problem, I do not intend to solve it but if they guide me it is a great help.
Veran I have two tables cases_...
Greetings, I have a basic log system, but I want you to show who is logged in, here is my code:
<?php
/* start the session */
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>...
I am trying to send a number with a comma through JSON to save them in a MySQL database through a api rest created in node js.
Endpoint code
router.post('/', (req, res) => {
const sensorData = {
id: null,
temperatura:...
I bring you a question I have about a query that brings me headlong. I have a single table that is inherited from a previous project.
In the table among many other data, I have a DNI, a certificate date (FCert) and a renewal date (FRev). In t...
I'm adding two fields and everything works fine. The problem is that I do not know how to subtract those two values to find the difference, because the values of Cant. Bet and Cant. Won calculate them by means of a function each and I want to sh...
I try to access the database from a form, and it does not take me anywhere. If someone could help me ... thank you!
The code is as follows:
<?php
session_start();
if(isset($_SESSION['admin'])){
require '../php/Funciones.php'...