mediabox Posted May 2, 2006 Report Share Posted May 2, 2006 Kā ielikt sekojošo, mysql_query("set names utf8"); un mysql_query("set charset set utf8"); Link to comment Share on other sites More sharing options...
DIVX5 Posted May 3, 2006 Report Share Posted May 3, 2006 Neko nesapratu - ko, kur pievienot!? Link to comment Share on other sites More sharing options...
Robis Posted May 3, 2006 Report Share Posted May 3, 2006 http://dev.mysql.com/doc/refman/4.1/en/index.html Link to comment Share on other sites More sharing options...
mediabox Posted May 3, 2006 Author Report Share Posted May 3, 2006 man vajag vienkārši uzlikt pirms kverijiem (pēc conecta): mysql_query("SET NAMES 'utf8'"); mysql_query("SET CHARACTER SET 'utf8'"); jautājums kur atrast kverijus un kādi tie izskatās, aaahh es tač neēsmu bils geits :) Link to comment Share on other sites More sharing options...
andrisp Posted May 3, 2006 Report Share Posted May 3, 2006 nu bet tev tak pašam jau ir gatavs kods, ko tev vēl vairāk vajag ? Link to comment Share on other sites More sharing options...
mediabox Posted May 3, 2006 Author Report Share Posted May 3, 2006 nu bet tev tak pašam jau ir gatavs kods, ko tev vēl vairāk vajag ? forumā izlasīju lai teksts būtu ar garumzīmēm ieteicams ielikt šo kodu kaut kur db. mysql_query("SET NAMES 'utf8'");mysql_query("SET CHARACTER SET 'utf8'"); saistīts posts: http://php.lv/f/index.php?showtopic=4595 Link to comment Share on other sites More sharing options...
andrisp Posted May 3, 2006 Report Share Posted May 3, 2006 mysql_query(); ir php fja. Ar to arī visam vajadzētu būt skaidrs. Link to comment Share on other sites More sharing options...
mediabox Posted May 3, 2006 Author Report Share Posted May 3, 2006 mysql_query(); ir php fja. Ar to arī visam vajadzētu būt skaidrs. elementāri sapratu, es jau te domāju kaut kas baigi sarežģītais, jo pats php man patīk vairāk jau kodēju ar Paskal :D Link to comment Share on other sites More sharing options...
Recommended Posts