QUERY Error
Query string SELECT *, DATE_FORMAT(locmaj, "%d/%m/%Y") AS maj FROM locations WHERE locactif=1 AND locid=louer-bresse
Error > Unknown column 'louer' in 'where clause'