This has been bothering me for a while now, syntax wrapping variables in {curly brakets}
Like:
“SELECT * FROM relationships WHERE (usera={$usera} AND userb={$userb});”
$base = “{$this->title} ({$this->producerName})”;
I’m guessing this is just a way of avoiding concatenations, the equivalent of these examples being:
“SELECT * FROM relationships WHERE (usera=” . $usera . " AND userb=" . $userb . “);”
$base = $this->title . “(” . $this->producerName . “)”;
Are these assumptions correct?