Relative Content

Tag Archive for phphtmlmysql

I can’t get a variable from another script PHP

Hello guys (sorry for my bad english in advance). Im completely new in php so my code is a huge mess, but I was making a food webstore with admin page where I manage to create add, show all products, delete products but i have HUGE problem with editing.

no puedo extraer el id

estoy haciendo un formulario CRUD y necesito el id para modificar y eliminar los registros pero me aparece el error:Warning: Undefined array key "id" in C:xampphtdocscrud2modificar.php on line 4 esta es la variable $id=$_POST["id"]; $sql=$conexion->query(" SELECT * FROM registro WHERE idr= $id ");