Mysql Help (Delete/Join)

coolhomecoolhome Junior MemberShared Hoster
I have this query im trying to make it DELETE rows from a table is a another table row is inactive. Here it is.

DELETE FROM chat_rooms AS c INNER JOIN accounts AS a ON '$time'<a.last WHERE c.talk_to='$uid'

Anyone know how i would do this right :P?


:glasses2: THanks


Crap Wrong category again its under PHP o.O sorry!

Comments

Sign In or Register to comment.