I can’t get a variable from another script [closed]
Closed 1 min ago.
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.
How do I create a button that adds 1 to a column value in mySQL server using PHP?
I have an HTML website with a table exported from a mySQL database command. In the HTML table I have an extra column with a “like” button that I want to add 1 to the value in the “total_anime_likes” column in a different table within the database. Its a bit confusing because the HTML table is in a PHP page.
Get Input Type Date
I have this input to enter a date on my form:
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 ");
if (isset($_POST[‘submit’])) is not working/always is empty
Here’s my code, the only thing possible that wouldn’t work is the isset
for posting additem
which name ive changed: