What kind of friends do I have a php from which registers the products in a table but in another table I have loaded the data of the products as they are barcode and name that in the from when entering the barcode it automatically extracts the name or description of related to said code and upload it in an input text so that it is then sent via the from to the database
form code
<html>
<head>
<title>Ingreso productos</title>
</head>
<body>
<center>
<p><h1>Registro de productos </h1></p>
<form action="operacion_guardar.php" method="POST"><br/><br/><br/>
<input type="text" REQUIRED name="codbar" placeholder="codigo barras" value="" /><br/><br/>
<input type="text" REQUIRED name="descripcion" placeholder="Descripcion" value="" /><br/><br/>
<input type="number" REQUIRED name="cantidad" placeholder="cantidad" value="" /><br/><br/>
<input type="date" REQUIRED name="fecha_v" placeholder="Fecha de vencimiento" value="" /><br/><br/>
<input type="submit" value="Registrar"/>
</from>
</center>
</body>
</html>