I am learning mysql and php, but it is giving an error in the form, where even having been filled it still asks to fill in the fields and does not register anything in the database table
<?php
$db = "progdesenv";
@mysql_connect("localhost",...
I am studying MySql using MySql Workbrench to create a diagram of my database and the following situation arose:
Imagine I have the table_A and the table_intensity, where:
Structure of table_A:
id, name, intensity_1, intensity_2
Structu...
I have a column named relacionados in the produtos table and there are some ID's of some items in the produtos table. I needed to make a explode () or something of the type in the produtos table and select all pro...
Good,
Some time ago I noticed that my phpMyAdmin was stupidly slow (more than half a minute in a simple query) ... After researching this, I came to the conclusion that one should have XDebug turned on in PHP.ini settings ... I commented everyth...
Good evening,
I'm here with a filter problem via json for districts and counties to explain.
The user chooses a district and it filters and lists in another selectbox the counties that are associated with that district and the system is wo...
I come again with a similar error in the syntax of my SQL. I've tried a few times and so far nothing.
If you can give me some help, thank you.
Here is my code:
$sql="INSERT INTO processos
(
processo,
numero_beneficio,...
In query the goal is to update the product unit, with a subquery that retrieves the current drive from the database and subtracts by checking by code.
UPDATE loja.produto SET UNIDADE = (SELECT (SELECT UNIDADE FROM loja.produto WHERE CODIGO...
Good morning, I'm trying to make a news system, but the database does not receive php data. I would like to know how to resolve this.
<html>
<head>
<meta charset="utf-8">
<title>Inserir Notícia</title>...
I'm looking for a few days ago to do a foreach within a while to print the json data related to that query. My scenario is this:
<?php
require_once('../Connections/db.php');
header("Access-Control-Allow-Origin: *");
header("Content-Type: ap...
I'm just trying to validate the password typed with the password stored in the database, and the password stored in the database has been encrypted. The problem is that I type the correct password, my function searches for the correct registry i...