Jump to content

[SOLVED] Query affected rows


EchoFool

Recommended Posts

Is there a way to check that my query has actually deleted a row. I cannot tell for sure if its being deleted and then re-created.

 

Is there like a check for affected rows or something?

 

I have this:

$GetFight = ("DELETE FROM attack WHERE Attacker='{$_SESSION['Current_User']}'")
				Or die(mysql_error());

 

And it doesn't delete my row. It's quite irritating as i do not know why. Hope you can help.

Link to comment
https://forums.phpfreaks.com/topic/86575-solved-query-affected-rows/
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.