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 '' at line 5SELECT n_title, n_text, n_more, n_id, n_valid_from, pp.p_name,
n_id, pe.p_name as pe_name, n_edit
FROM news INNER JOIN person as pp on pp.p_id = n_posted_by
LEFT JOIN person as pe on pe.p_id = n_edited_by
where n_id = db_query(SELECT n_title, n_text, n_more, n_id, n_valid_from, pp.p_name,
...) # line
20, file: /var/home/ilug/www.linux.ie/newsitem.inc.php
require(SELECT n_title, n_text, n_more, n_id, n_valid_from, pp.p_name,
..., /var/home/ilug/www.linux.ie/newsitem.inc.php) # line
286, file: /var/home/ilug/library-www.linux.ie/ilug/page.inc.php
require(SELECT n_title, n_text, n_more, n_id, n_valid_from, pp.p_name,
..., /var/home/ilug/www.linux.ie/newsitem.inc.php, /var/home/ilug/library-www.linux.ie/ilug/page.inc.php) # line
10, file: /var/home/ilug/www.linux.ie/newsitem.php
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 '' at line 5
|