Warning: mysql_query(): Access denied for user 'webjoe'@'localhost' (using password: NO) in /home/echncom/public_html/function/db.php on line 17

Warning: mysql_query(): A link to the server could not be established in /home/echncom/public_html/function/db.php on line 17

Warning: mysql_db_query() expects parameter 3 to be resource, boolean given in /home/echncom/public_html/function/db.php on line 18
select *,a.text as text,class_name,a.control as control,a.class_id as class_id,a.id as id,b.class_id as b_id from item as a,item_class as b where a.id='300' and a.class_id = b.id