arman Posted June 29, 2015 Report Share Posted June 29, 2015 Hallo,ich biete um hilfe, vielleicht kann mir jemand helfen. Im Shop sollten 2 Werte aus der Tabelle ausgegeben werden. Hier habe ich Select abfrage, aber es scheit syntax Fehler zu sein.$rs = $db->Execute("SELECT itp.*, id.* FROM ".TABLE_IN_TO_PRODUCTS. "itp LEFT JOIN ".TABLE_IN_DESCRIPTION." itd ON itd.prozentl=id.in_name WHERE itp.products_id='".$products_id. " and id.language_code='".$language->code."'");protzenten von der Tabelle TABLE_IN_TO_PRODUCTS angezeigt werden und in_name von der Tabelle TABLE_IN_DESCRIPTIONdanke Link to comment Share on other sites More sharing options...
arman Posted June 29, 2015 Author Report Share Posted June 29, 2015 Lösung:$rs = $db->Execute("SELECT prozentuale_Anteil FROM ".TABLE_IN_TO_PRODUCTS." itp, ".TABLE_IN_DESCRIPTION." id WHERE itp.prozentl=id.in_name AND id.language_code= '".$language->code."' "); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.