Jump to content

[SOLVED] won't delete record


jeff5656

Recommended Posts

I am trying to delete a record but it doesn't work:

Link next to each record:

<a href="editbill.php?action=delete_record&id=<?php echo $row['dos_id']; ?>">Delete (irreversible)<?php echo $row['dos_id']; ?></a>

 

editbill:

 

	break;

case "delete_record":
echo "hello";
echo 	$_GET['id'];
$csq1 = "DELETE FROM dos
					WHERE dos_id = '" . $_GET['id'] . "'";


break;

 

I get hello echoed and I get the correct id echoed so I know it gets to this part....

 

Link to comment
https://forums.phpfreaks.com/topic/136847-solved-wont-delete-record/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.