Thanks @terron for the tip, everything became clearer.
In this case, you need to not only change the quotes, as suggested by @ Makim (although the problem is noted correctly), but also to screen them in this way.
<?php echo "<article onclick = 'document.getElementById(\"myform\").submit()'> <h3> {$row['name']} </h3> <p class='creator'>Создатель: {$row['creator']}</p> </article>"
But it's better never to do that. It is necessary to separate HTML and PHP. Something like this
?> <article onclick = 'document.getElementById("myform").submit()'> <h3> <?php echo $row['name'];?> </h3> <p class='creator'>Создатель: <?php echo $row['creator']?></p> </article> <?php
{$row['name']},{$row['creator']}? - rjhdby$row['name']and$row['creator']variables, respectively. - neluzhin