org.102 Posted October 25, 2005 Report Share Posted October 25, 2005 (edited) heij! ntā.. uz localhosta un tāpat caur savu ip viss iet ok - ar install.php izveido DB, tabulas un ievada datus. viss iet. Probleema saakas tad, kad es to uzmetu uz cita serva. Palaizhu install.php [nemet errorus]. Viss ir - sataisa DB, tabulas un ievada arii datus. Tad index.php lapaa, kur notiek visa php koda izpilde, veicot pieprasiijumu SELECT un mysql_fetch_array..lalal. nekas nenotiek. <_< hmm.. nedod aaraa nevienu rindinju ar ievadiitajiem datiem. Veel. caur MySQL Control Center, ieziimeejot kaadu tabulu, pie katras rindas raadaas peleeks rombs. njez. :unsure: Ja tabulas un datus ievada "no rokas" caur to pashu MySQLCC, tad viss iet - arii nekaadu rombu nav. ieniistu Peleekus Rombus! :ph34r: ---------- + Ja Query izsauc caur MYSQLCC "CREATE table..", tad taapat radaas Peleekie! <_< negribas kaut kaa spaidiit un rakstiit taas tabulas.. b. :ph34r: Edited October 25, 2005 by org.102 Link to comment Share on other sites More sharing options...
bubu Posted October 25, 2005 Report Share Posted October 25, 2005 mysql_query() fjas atgriezto rezultātu pārbaudi? mysql_error() izvadi kļūdas gadījumā? Link to comment Share on other sites More sharing options...
org.102 Posted October 26, 2005 Author Report Share Posted October 26, 2005 (edited) mysql_query() fjas atgriezto rezultātu pārbaudi?mysql_error() izvadi kļūdas gadījumā? 25444[/snapback] japp.. viss tas ir. kkas pēc tāda principa rakstīts http://paste.php.lv/2734 --- Wrong arguments to <> vai Wrong arguments to = Tas ir, ja WHERE opārbauda pēc text/varchar kolonnas tipa. ja maina SELECT'u tā, ka WHERE pārbauda colonnu, kur ir integera tips, tad atlase notiek labi, tik tas neder. Vajag atlasīt pēc varchar tipa kolonnas.. Edited October 26, 2005 by org.102 Link to comment Share on other sites More sharing options...
org.102 Posted October 26, 2005 Author Report Share Posted October 26, 2005 (edited) jippiiiiiiiiiiiiiiiiii..... pagaidām tā, ka.. SELECT * FROM tabula WHERE tekst_c='zigiz' mainam uz. SELECT * FROM tabula WHERE tekst_c=CONVERT(_utf8'zigiz' USING utf8) tad viss iet.. cerams. visi SELECT'i jāparraksta un ta redzēs. :ph34r: Edited October 26, 2005 by org.102 Link to comment Share on other sites More sharing options...
bubu Posted October 26, 2005 Report Share Posted October 26, 2005 wtf? Tu kautko pamatīgi te samurgoji. Link to comment Share on other sites More sharing options...
org.102 Posted October 26, 2005 Author Report Share Posted October 26, 2005 wtf?Tu kautko pamatīgi te samurgoji. 25495[/snapback] nu chist aizgāja. bez tā man nekas neiet. utf8 -> utf8 netiik? ;) varbut kkur ieprieksh noshaavu greiz. Link to comment Share on other sites More sharing options...
Recommended Posts