nascar Posted August 15, 2011 Report Share Posted August 15, 2011 Sveiki, tātad man ir tāda csv upload sistēma izveidota, vakar vismaz kad testējot nekas tāds nebija, viņš karotja tieši tada seciba ka ir csv faila, bet šorit es neko īpašu nezidariju ar to scriptu, es vēl CTRL+Z lidz sakumam vakardienas vakaram kad saglabaju, bet vienalga viņš tagad augšupladejot to csv faila informaciju datubaze viņš šorte no Apakšas uz augšu proti no Lielāka uz mazāko... Ir kādas idejas, kāpēc tā un kā to varētu novērst? Kaspars. Link to comment Share on other sites More sharing options...
Kaklz Posted August 15, 2011 Report Share Posted August 15, 2011 Varbūt palasi par datubāzēm, SQL un konkrētāk par ORDER BY (http://www.w3schools.com/php/php_mysql_order_by.asp) ? Link to comment Share on other sites More sharing options...
viena tante Posted August 15, 2011 Report Share Posted August 15, 2011 http://paste.php.lv/ šeit iepostē to kodu un tad iedod linku, lai citi redz, kas Tev tur ir. Link to comment Share on other sites More sharing options...
Kemito Posted August 15, 2011 Report Share Posted August 15, 2011 (edited) SELECT * FROM `table` ORDER by id ASC Edited August 15, 2011 by Kemito Link to comment Share on other sites More sharing options...
nascar Posted August 15, 2011 Author Report Share Posted August 15, 2011 Paldies, paldies - tomēr nebiju pamanījis no savas pusi niansi, kas to visu darija, tagad viss ir labi. TC! Link to comment Share on other sites More sharing options...
Recommended Posts