I am working with some SQL.
Curly braces fixes things in a query.
I have these 2 types of objects:
$this->subject
and
$this->sess->userid
My question is, why does the first work well?
But the second longer type needs curly braces around?
VALUES ( '$this->subject', '$message', {$this->sess->userid}, '{$this->sess->username}', $time );