Good afternoon!
I am creating a visitor registration form for commercials.
I need to extract in an "input type=" text "as the default value:
The commercial agent's code, (it is not the same as the client's id)
This is the form:
...
Hello, I have a small user registration code but you are not inserting the data into my database:
conexion.php
<?php
$con = new mysqli('localhost','root','','coco');
?>
formulario.php
<!DOCTYPE html>
<html>
&l...
I am making a shopping cart with PHP and MySQL and if you add products, but the problem is that you add the same one over and over again, even if you add a different one, always insert the same one. Even when I refresh the page, it automatically...
Realizing a project they sent me to block products that exceed the sales limit, I explain:
I have two tables, producto and ventas , where there is a list of products for sale which if you reach the limit of sale diaria can...
I am doing a school platform, where I need to connect my database with my web page. However, this warning appears when I run it:
Warning: mysqli_select_db () expects parameter 1 to be mysqli, string
given in C: \ xampp \ htdocs \ Sor J...
I have several records (about 300) where users have their password in plain text and I want to pass it to HASH
use a file to convert the passwords and then insert them, but it happens that some are blank, because?.
To verify that it was no...
I have the database of DATA created in this format.
the code you use for the query is the following: only that the class table increases The column Bimester to demilitar the query.
<table class="table table-bordered table-striped t...
I'm doing a login with User and Password ... Send me this error: >
Notice: Undefined index: Password in C: \ xampp \ htdocs \ Task_Semana_11 \ Validar.php on line 6
ERROR LINE: $Clave=$_POST['Clave'];
This is the PHP code:...
I would like to place the user who is currently logged in on the corner of my page, I do not know how it is done and for this I ask for your help, here I attach the index code that I am currently working on.
<?php
session_start();
if (...