How would I delete a record/entry in a database please?







Hello.

Could I please request a reminder with regards deleting a record/entry in my database using PDO?

The field in use (row 7, which is an int) has a 0 in it.

I’m able to connect with no problem, and I’m able to find data with has 0 in them – hence it echoing 0*.

However I’m unable to delete the record/entry, and I’m unsure why.

Code:

<?php
session_start();
$servername = $_SESSION['dbf_host'];
$username = $_SESSION['dbf_user'];
$password =...

Read the entire article at the source link…


We're happy to share this resource that we found. The content displayed on this page is property of it's original author and/or their organization.

Leave a Reply