Notice: Undefined index: id in C:\web\www\this-app.ru\admin\my_blogs.php on line 5
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND r.status=1' at line 1 in C:\web\www\this-app.ru\app\database\db.php:978
Stack trace:
#0 C:\web\www\this-app.ru\app\database\db.php(978): PDOStatement->execute()
#1 C:\web\www\this-app.ru\admin\my_blogs.php(5): selectRecord1('record', 'users', NULL)
#2 {main}
thrown in C:\web\www\this-app.ru\app\database\db.php on line 978