ut2k3 Posted January 26, 2005 Report Share Posted January 26, 2005 Guten Tag, ( habe jetzt keinen bock logindaten f?r sponsorbereich zu suchen -> anekado.de) Also ich habe mir eine Exportphp f?r die preisvergleiche gebaut. Sie funzt auch 1a nur jetzt w?rde ich gerne Folgendes machen : Man kann einstellen welche Kategorie gelistet ist. Ich w?rde das so regeln das ich ne spalte in dat categorietable einbaue wo entweder 1 f?r display oder 0 / nichts f?r nicht anzeigen steht. nur ich habe kein plan was ich an meiner mysql_query daf?r ?ndern m?sste ? also beispielweise Where export_statut = '1' oder so ... aber nur wie! danke f?r eure Hilfe. Nun hier meine abfrage: $pro2duct_info_query = xtc_db_query("SELECT products.manufacturers_id, products.products_barcode, products.products_herstellernummer, products.products_quantity, products.products_id, products.products_model, products.products_image, products.products_price, products_description.products_name, categories_description.categories_name, products_description.products_url, products_description.products_description, products.products_status FROM categories_description INNER JOIN products_to_categories ON (categories_description.categories_id = products_to_categories.categories_id) INNER JOIN products ON (products_to_categories.products_id = products.products_id) INNER JOIN products_description ON (products.products_id = products_description.products_id) WHERE products_description.products_name NOT LIKE '%Eigenbau%' AND products.products_status = 1 AND products.products_quantity >= '0' AND products.products_id = '" . $was[$i] . "' "); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.