motze Posted March 23, 2005 Report Share Posted March 23, 2005 Hallo! M?chte die Sortierung der Produkte nach aufsteigender ID odnen. d.h. Produkte mit h?chster ID sieht man zuerst. hab aber folgendes Problem: in der default.php wurde ge?ndert: 95 $sorting = ' ORDER BY p.products_id DESC' 96 $listing_sql = "select p.products_model, pd.products_name,... 99 $sorting = ' ORDER BY p.products_id DESC' 100 $listing_sql = "select p.products_model, pd.products_name,... 106 $sorting = ' ORDER BY p.products_id DESC' 107 $listing_sql = "select p.products_model, pd.products_name,... 110 $sorting = ' ORDER BY p.products_id DESC' 111 $listing_sql = "select p.products_model, pd.products_name,... bekomme dann aber immer diese fehlermeldung: Parse error: parse error, unexpected T_VARIABLE in /var/www/web375/html/xtc2/includes/modules/default.php on line 96 hab noch die ?ltere xtc version hoffe jemand kann weiterhelfen... Link to comment Share on other sites More sharing options...
smedder Posted March 23, 2005 Report Share Posted March 23, 2005 Setz da mal ein ' anstatt des ". Also so: 96 $listing_sql = 'select p.products_model, pd.products_name,...' Link to comment Share on other sites More sharing options...
motze Posted March 25, 2005 Author Report Share Posted March 25, 2005 ??? was meinst du? Link to comment Share on other sites More sharing options...
smedder Posted March 25, 2005 Report Share Posted March 25, 2005 Die "" durch '' ersetzen. Link to comment Share on other sites More sharing options...
motze Posted March 31, 2005 Author Report Share Posted March 31, 2005 nein, hilft auch nix... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.