Mysql Fehler

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • #16
    Das war mir vom grund her klar

    $option_filter_join wird in die beiden anderen($filter_sql, listing_sql) abfragen "includiert" diese funktioneren ja auch zur abfrage in der DB, nur bekomme ich eben auf der Seite die Fehlermeldung

    HTML-Code:
    1064 - 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 9
    
    select count(DISTINCT p.products_id) as total  from products_description pd                       join products_to_categories p2c                       join products p                        join (select p.products_id         from products p         join products_attributes pa on pa.products_id = p.products_id         join products_options_values pv on pv.products_options_values_id = pa.options_values_id         where pa.options_values_id in (1)         and pv.language_id = 2
    Und das war ja meine Grundfrage

    eleven-seven

    Kommentar


    • #17
      Das war mir vom grund her klar
      Dann verstehe ich nicht, warum du das hier postest und erst recht nicht, warum du ersthaft versuchst die unvollständige Query auszuführen und die Fehlermeldung hier postest.

      Ein aller aller aller letztes mal:

      Poste
      a) die VOLLSTÄNDIGE Query, die nicht funktioniert, sauber formatiert
      b) die ZUGEHÖRIGE Fehlermeldung mit Zeilennummer entsprechend der Formatierung aus a.

      Danke!
      Zuletzt geändert von TobiaZ; 26.06.2012, 16:24.

      Kommentar

      Lädt...
      X