Ok - that's what I had, so it must be something else, thanks though. Here is the query I am using:
$query = "SELECT homes.id,homes.house,homes.pricemin,homes.pricemax,details.beds,details.type,details.newdev,details.agent,floors.house FROM homes WHERE homes.id=floors.house,homes.id=details.house,".$sqlbeds."homes.pricemin > 1,homes.pricemax > 2 ORDER BY date DESC LIMIT ".$limit;
Error in SQL query at line 1.
I can't seem to find it, probably something obvious. Thanks in advance,
Chris