I have a little problem calling a variable in phpmyadmin using the SQL query window.
I'm still just learning the ropes, so it's very simple. I believe this is just a small issue with the syntax or quote.
I am trying to do the following:
SET @var1 = Value (Does it need quote marks after "=" or not?) SELECT * From `Table` WHERE 'Column' = @var1 (Same question about quote marks)
It seems just plain stupid. I did a search and simply could not find what I was doing wrong.
source share