I'm starting to learn Angular 2, and I have to do a CRUD of a system on series, and I need to store data in a database, I currently know how to use MySQL using Xampp.
I need to make the request using Ajax. Here is the function you want to cal...
I would like to handle the error that occurs if the MySQL server is not running, I want only one message to appear so I made the following code:
function mensagemErro () {
throw new \Exception("Error connecting to database");
}
function con...
Hello, I'm creating a real estate survey system and I'm using a CRUD (phreeze) generator to get the service up a bit, but I have the following question:
I created a table in the database called external area and placed the columns in it:
ID...
I'm doing a 'project' with the MVC architecture and I'm having a problem, I already send data via post and get, but I do not know what's happening that I can not receive in a specific form, it might be silly, but already It took me hours and I d...
I'm a beginner and I'm not sure how to fix this Wordpress connection issue with the Mysql database.
The error occurs after I reset the mysql root password, the Site crashed and prints the message: "Error establishing a connection to the datab...
I need to exclude duplicate records in column bidding_price with the following conditions:
Table: bid_account
Columns to check:
id = PRIMARY KEY auction_id = ID of each product bidding_price = val...
I'm trying to popular the following database:
DROP DATABASE IF EXISTS library;
CREATE DATABASE library;
USE library;
CREATE TABLE AUTHOR (
NAME VARCHAR(50) NOT NULL,
COUNTRY VARCHAR(50) NOT NULL,
TITLE VARCHAR(50) NOT NULL,
PRIMARY...
I have the input with the name collaborator within the while:
while($rows_cursos = mysqli_fetch_array($resultado_cursos)) {
$tabela1 .= '<tr>';
$tabela1 .= '<td>'.$rows_cursos['nome'].'</td>';
$tabela1 .= '<td> <in...
Next, I have a database with some items and I display the items in this database using this template:
<?php $conexao = mysqli_connect("Host","User","Pass","banco");
if( !$conexao ){
echo "Erooooou.";
exit;...
I'm working with a database that has 2 tables, processes and processmovements, I need to delete a data from the processes table, but the field ID of the process table is a foreing key in the table handlingprocesses. I am using PHP and MYSQL. p>...