skip to Main Content

Delete a record from the db in PHP and SQL – Phpmyadmin

The SQL query in the $sql works when I directly enter that in the phpmyadmin only replacing the '$movieid' as 1 The code in the deletemovie.php: $delete = "Includes/deletemovierecord.php?id=$movieid"; echo " <tr> <td>$movieid</td> <td>$moviename</td> <td>$year</td> <td>$genere</td> <td>$stock</td> <td> <form action='Includes/updatemoviestock.php?key=$stock&id=$movieid'…

VIEW QUESTION

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'usr'@'localhost' (using password: YES) – Phpmyadmin

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'usr'@'localhost' (using password: YES) in /storage/emulated/0/htdocs/includes/condb.php on line 9 Failed to connect to MySql: Access denied for user 'usr'@'localhost' (using password: YES) Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in…

VIEW QUESTION
Back To Top
Search