Jump to content

[SOLVED] query not working


mescal

Recommended Posts

Hi,

 

i try to delete a record in one table if that item is in another table

this is my query

 

$query_NOT="DELETE FROM fav_auction fa,bid_auction ba WHERE fa.Lotcode=ba.Lotcode AND fa.client_mail='$client_code'";

 

but i get a sql error next to where

 

somebody an idea?

 

thx in advance

 

mescal

Link to comment
https://forums.phpfreaks.com/topic/103699-solved-query-not-working/
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.