I am trying to learn object oriented mysqli and I have a (pretty basic I'm sure) question. I am following the guide here
When it comes to writing queries, what's the difference (if any) between the following queries;
First
$sql = <<<SQL
SELECT *
FROM `users`
WHERE `live` = 1
SQL;
Second
$sql = ("SELECT * FROM users WHERE live = 1");
I would like to start as I mean to go on so any advice is appreciated.