: MYSQL 'rexstar'

Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in /var/www/www.rexstar.ru/htdocs/lib/search_forma.php on line 32

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /var/www/www.rexstar.ru/htdocs/index.php on line 118

Notice: Undefined variable: array_param in /var/www/www.rexstar.ru/htdocs/index.php on line 121

Warning: array_keys() expects parameter 1 to be array, null given in /var/www/www.rexstar.ru/htdocs/index.php on line 121

Warning: extract() expects parameter 1 to be array, null given in /var/www/www.rexstar.ru/htdocs/index.php on line 123
SQL1
SELECT p.id, p.root, p.content, p.menu, p.title, p.keywords, p.description, t.caption as name_template, p.template_id, p.module, p.header, p.autorization FROM rexstar_page p LEFT JOIN rexstar_template t ON t.id = p.template_id WHERE (p.header = 'content')