I have a textbox where I store a value. I would like to know if this value is the same as the last id in my mysql database table. How do I do this?
I have a textbox where I store a value. I would like to know if this value is the same as the last id in my mysql database table. How do I do this?
I do not quite understand, but it starts here:
"SELECT coluna1 FROM tabela WHERE coluna1 = LAST_INSERT_ID();"
and compares with the value of the TextBox.
If it is not, it details better, okay?