Janis Posted August 19, 2004 Report Share Posted August 19, 2004 Varbuut kaads var ieteikt ideju kaa ar MySQL sadlaiit ieraxtus pa kolonaam kas ir sekojoshaa formaa : Vaards Uzvards - Dzivesvieta Adrese - [gads] Nu vajag apraxtit seperatoru kaa " - " neviss "-". Jau ieprieksh pateicos B) Link to comment Share on other sites More sharing options...
bubu Posted August 19, 2004 Report Share Posted August 19, 2004 $array = explode(' - ', $tavs_teksts); Link to comment Share on other sites More sharing options...
Janis Posted August 19, 2004 Author Report Share Posted August 19, 2004 Gribeeju piebilst ka taadu rindu ir aptuveni 10 000 Link to comment Share on other sites More sharing options...
bubu Posted August 19, 2004 Report Share Posted August 19, 2004 Nu un? Katrai rindai izsauc to explore, izveido INSERT teikumu un izsauc uz datubāzi. Vai arī saģenerē failu vai nu CSV formātā, vai arī ar INSERT teikumiem un tad ar MySQL iebūvētajiem līdzekļiem izsauc datu ielādi. Link to comment Share on other sites More sharing options...
Janis Posted August 19, 2004 Author Report Share Posted August 19, 2004 Tapa skaidrs pateicos :P Link to comment Share on other sites More sharing options...
Recommended Posts