I came across the following MySQL query:
update 'table' set itemId=:itemId, startDate=:startDate where id=:id
However I could not figure out what the =: means. I think that the name after the =: is a variable but then how to check what's inside or how is it set?
That is likely referencing a bind variable. The PHP or other code that executes the MySQL statement replaces the reference with a variable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With