REPLACE INTO (SELECT * FROM tblA WHERE lblA='$lblA') (lbl😎 VALUES ('$lblB')
Here is what I am trying to do:
There are 2 tables: tblA, tblB
I want to change the value of one of the entries in tblA by doing:
1. searching for the row that matches the $lblA ....
(SELECT * FROM tblA WHERE lblA='$lblA')
- take that row in 1, change the value od the column denoted by lblB to $lblB....
REPLACE INTO .... (lbl😎 VALUES ('$lblB')
Please guide me :">
Thanks