Hi Guys,
i have a chat table that has 4 columns (id,inbox,sent,userID,time) , i wrote a php code that would insert into this table all the data except for the sent column, because this column is filled out by another code, the problem that i have is how can i insert into (sent) for a specific (userID), this is what i wrote but it’s returns error in mysql
INSERT INTO chat (sent) VALUES (‘bla bla’) where userid=5