I tried to upload a profile picture using this code in php and it saves it in the path that I specify but it does not save anything in the database. I am working with wampserver and phpmyadmin .
The code I have is the foll...
I have the following code to consult the database:
<?php
include_once '__conexion.php';
require "funciones/JSON.php";
?>
<?php
$cedula = 111111; //No existe
$estado=1;
//-- Obtener Ultimo ID de sancion registrado para ese sanc...
What name does this have and how do I add it to a website for mysql?
Is that I want to create as well as in the forums a Web text this may or may not include images and link but I do not know where to get the source codes, this could se...
In this code I try to get values of checkbox selected, within a loop, and in another nested loop you get values of inputs fixed.
With these iterated values obtained within the loops, I wanted to execute a delete , setting as...
Perform the following sql, which has an inner and a left to look up the overhead and individual user data.
They are in different tables when doing the sql queries but I do not group the result to show it in the same td, resulting in this...
What happens? I think it's well built, but obviously something is missing.
Name of the Table: citas
Field Name: idcita, horacita, diacita, asuntocita
Query Error 1064 You have an error in your SQL syntax; check the
ma...
I make a query to the DB and I get the value "month" of the records of the table that is an integer type.
I want that according to the month received, PHP will print it in its string form. e.g. (month = 1 then print it as month="January")....
I'm trying to create a database from php but I can not.
The server I use is a must 8 with plesk
and this is the code with which I am trying:
<?php
$servername = "localhost";
$username = "DB_Admin";
$password = "$4Fd3rnke";
// Cre...
The code is as follows, it is for a university project, I am making a cup model and I am inserting matches and I need to validate that the two selections are from the same group, here the code but does not work
<?php
require_once 'conexi...