Infants Posted March 14, 2013 Report Share Posted March 14, 2013 Vispār... ...iesaku http://www.adminer.org/en/ - Adminer. Un nekāds PHPMyAdmin nav jāinstalē. Ar ko tas Adminer ir labāks? Quote Link to comment Share on other sites More sharing options...
Pats Toms Posted March 14, 2013 Report Share Posted March 14, 2013 Viens fails vs /pma, kas pie tam pieprasa konfigurāciju. Quote Link to comment Share on other sites More sharing options...
Infants Posted March 14, 2013 Report Share Posted March 14, 2013 Viens fails vs /pma, kas pie tam pieprasa konfigurāciju.Adminer nav tas, kuram ir viens fails. Quote Link to comment Share on other sites More sharing options...
Pats Toms Posted March 14, 2013 Report Share Posted March 14, 2013 Ieskaties vēlreiz - http://www.adminer.org/ / Quote Link to comment Share on other sites More sharing options...
marrtins Posted March 14, 2013 Report Share Posted March 14, 2013 Iedo pieejas, salabošu. Citādi jau te var skatīties tur, kur problēmas nemaz nav. Tās visas lokāles maz ir serverim uzstādītas? Quote Link to comment Share on other sites More sharing options...
brekulis Posted March 14, 2013 Author Report Share Posted March 14, 2013 serveris uz sava komja stāv. varbūt ir kāda info par to, kā sakonfigurēt phpmyadmin? Quote Link to comment Share on other sites More sharing options...
blackhalt Posted March 14, 2013 Report Share Posted March 14, 2013 (edited) Patestē, kā ir citur. Šiten, datubāzes tabulā, kādā text laukā iedrukā: Aa, Āā, Bb, Cc, Čč, Dd, Ee, Ēē, Ff, Gg, Ģģ, Hh, Ii, Īī, Jj, Kk, Ķķ, Ll, Ļļ, Mm, Nn, Ņņ, Oo, Pp, Rr, Ss, Šš, Tt, Uu, Ūū, Vv, Zz, Žž. http://adminer.sourceforge.net/adminer.php?username= Vai uztaisi jaunu tabulu un tad. Vai izmanto SQL komandu (SQL command), lai izveidotu tabulu `test_lv`: CREATE TABLE `test_lv` ( `vards` text COLLATE 'utf8_general_ci' NOT NULL ) COMMENT='' ENGINE='MyISAM'; un komanda, kas tabulas `test_lv` laukā `vards` ievietos tos LV burtus: INSERT INTO `test_lv` (`vards`) VALUES ('Aa, Āā, Bb, Cc, Čč, Dd, Ee, Ēē, Ff, Gg, Ģģ, Hh, Ii, Īī, Jj, Kk, Ķķ, Ll, Ļļ, Mm, Nn, Ņņ, Oo, Pp, Rr, Ss, Šš, Tt, Uu, Ūū, Vv, Zz, Žž.'); Un tad pamēģini uz sava datora ar to pašu http://www.adminer.org/ Ja nesanāk, tad ir jautajums - kādi tad tie latviešu burti "sanāk"? Edited March 14, 2013 by blackhalt Quote Link to comment Share on other sites More sharing options...
Mr.Key Posted March 14, 2013 Report Share Posted March 14, 2013 (edited) prieks, ka kāds vismaz piedzimst par programmētāju. :)Ne gluži, bet to, vai ir materiāls, kuru vērts slīpēt, var saprast ātri. Konkrēti šeit acīs duras frāze "izmēģināts pilnīgi viss". Acīmredzot, kaut ko tomēr neesi vēl izmēģinājis ;) Pamēģini sākt visu no 0 un tad skaties, kurā punktā pazūd tie burti. Noņem tos set charset, set names, pamaini tabulām, konekcijai charsetus. Nešķiet interesanti, netrīci līksmē to darīt? Tad pagaidi, kad pašam radīsies interese. :) Edited March 15, 2013 by Mr.Key Quote Link to comment Share on other sites More sharing options...
brekulis Posted March 15, 2013 Author Report Share Posted March 15, 2013 Ne gluži, bet to, vai ir materiāls, kuru vērts slīpēt, var saprast ātri. Konkrēti šeit acīs duras frāze "izmēģināts pilnīgi viss". Acīmredzot, kaut ko tomēr neesi vēl izmēģinājis ;) Pamēģini sākt visu no 0 un tad skaties, kurā punktā pazūd tie burti. Noņem tos set charset, set names, pamaini tabulām, konekcijai charsetus. Nešķiet interesanti, netrīci līksmē to darīt? Tad pagaidi, kad pašam radīsies interese. :) es jau 4o dienu čakarējos, googlēju, meklēju atbildes un garumzīmju kā nav tā nav. Es trīcēšu līksmē, kad garumzīmes parādīsies, nevis līdz tam. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted March 15, 2013 Report Share Posted March 15, 2013 Es nesaprotu. Man nekad nav bijusi šāda problēma.</offtopic> Quote Link to comment Share on other sites More sharing options...
brekulis Posted March 15, 2013 Author Report Share Posted March 15, 2013 Still... nothing.... Izvadās Logu mazg?�anaB?vniec?bas darbi uzliku mb_detect_encoding un man izmet ASCII, Tad sanāk, ka problēma ir serverī. btw. lietoju mac un MAMP serveri Quote Link to comment Share on other sites More sharing options...
daGrevis Posted March 15, 2013 Report Share Posted March 15, 2013 (edited) Pag, tā funkcija tev pasaka, ka **faila enkoudings ir ASCII**, nevis UTF-8. Ko tev tas pasaka? Edited March 15, 2013 by daGrevis Quote Link to comment Share on other sites More sharing options...
brekulis Posted March 15, 2013 Author Report Share Posted March 15, 2013 <?php $result = mysqli_query($con,"SELECT * FROM photoCategory"); while($row = mysqli_fetch_array($result)) { echo "<h4>" . $row['name'] . "</h4>"; echo "<br />"; } echo mb_detect_encoding($row['name']); ?> nevis faila, bet konkrētā string Quote Link to comment Share on other sites More sharing options...
codez Posted March 15, 2013 Report Share Posted March 15, 2013 (edited) Šāda rinda ir lapā? <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Edited March 15, 2013 by codez Quote Link to comment Share on other sites More sharing options...
brekulis Posted March 15, 2013 Author Report Share Posted March 15, 2013 Šāda rinda ir lapā? <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Protams. Bez tās, manuprāt, parasts teksts (kas nav datubāzē) parādītos ar ķeburiem. Vēlreiz minēšu, ka parastais teksts parādās ok, tikai tas, kas nāk no DB rādās ar ķeburiem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.