Пароль в открытом виде лучше не передавать, а хэшировать на клиенте перед отправкой.Хэшировать пароль на клиенте нет никакого смысла. В чём разница ситуаций?
То есть в неё можно вкладывать всё, что можно вкладывать в её родителя.Не всё. В ссылку нельзя вкладывать интерактивные элементы - другие ссылки, поля ввода, видео/аудио с управлением и т.п.
4.6.1 The a element
Content model:
Transparent, but there must be no interactive content descendant.
Interactive content is content that is specifically intended for user interaction.
a, audio (if the controls attribute is present), button, details, embed, iframe, img, (if the usemap attribute is present), input (if the type attribute is not in the Hidden state), keygen, label, menu, (if the type attribute is in the toolbar state), object, (if the usemap attribute is present), select, textarea, video, (if the controls attribute is present).
<?php
$t = new stdClass();
var_dump($t->test->test);
echo "====\n";
var_dump($t->test->test ?? null);
// Notice: Undefined property: stdClass::$test in [...][...] on line 3
// Notice: Trying to get property of non-object in [...][...] on line 3
// ====
// NULL
<?php
$t = null;
var_dump($t->test ?? null);
// NULL
Ошибка булевая falseЭто не ошибка, а всего лишь признак того, что ошибка произошла. Если не умеете работать с исключениями, то добавляйте после каждого вызова функции PDO проверку и вывод ошибки через PDO::errorInfo.