Jump to content

[SOLVED] mysql delete help


scarface83

Recommended Posts

Hmm! Then use delete query .

 

$query = mysql_query("DELETE FROM absence_mgt  WHERE datestamp='$date' AND ID='$vtc_login' ") or die(mysql_error());

 

It will remove only a single row where id is matching to the value u passed in query where condition.

 

WHERE datestamp='$date' AND ID='$vtc_login'

 

 

So need to worry. it will remove onyl one row.

 

 

Regards,

Joshi.

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.