Go back
Tel:
Categories:
db error:
select o.*, a.business_name,
date_format(start_date, '%d/%m/%y') as start_date_fmt,
date_format(end_date, '%d/%m/%y') as end_date_fmt
from offer o
inner join account a on a.id = o.account_id
where
start_date <= now() and
end_date >= now() + interval 1 day and
account_id =
order by posted_at desc
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 'order by posted_at desc' at line 10
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
/home/3136/uckfieldcc/www.uckfieldchamber.co.uk/public_html/member_detail_content.php on line
78
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
/home/3136/uckfieldcc/www.uckfieldchamber.co.uk/public_html/member_detail_content.php on line
79
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
/home/3136/uckfieldcc/www.uckfieldchamber.co.uk/public_html/member_detail_content.php on line
97
Go back