MārisL Posted September 5, 2007 Report Share Posted September 5, 2007 http://paste.php.lv/6020 Lieta tāda, ka reģistrējoties ievadu visus datus, bet izlec kļūda. sql fails, kuru izmantoju veidojot tabulu iekšs DB - Lūdzu pasakiet vai vismaz mēģiniet pateikt, kur tajā visā ir kļūda :( CREATE TABLE cs_komandas ( id INT(11) NOT NULL AUTO_INCREMENT, komanda VARCHAR(30), tags VARCHAR(40), epasts VARCHAR(70), majaslapa VARCHAR(32), PRIMARY KEY(id) ); Link to comment Share on other sites More sharing options...
Kavacky Posted September 5, 2007 Report Share Posted September 5, 2007 Uzmet aci INSERT kverija sintaksei. Link to comment Share on other sites More sharing options...
andrisp Posted September 5, 2007 Report Share Posted September 5, 2007 Nu tad iekopē šo kļūdu šeit! Link to comment Share on other sites More sharing options...
MārisL Posted September 5, 2007 Author Report Share Posted September 5, 2007 (edited) andrisp - 37 rinda paste.lv Edited September 5, 2007 by MārisL Link to comment Share on other sites More sharing options...
Val Posted September 5, 2007 Report Share Posted September 5, 2007 pirms tam izdrukā mysql_error() Link to comment Share on other sites More sharing options...
MārisL Posted September 5, 2007 Author Report Share Posted September 5, 2007 (edited) Paldies Kavacky. Kaut kur bija pazudis man VALUES :) Vēl kaut kas! Lieta tāda, ka piereģistrējot. Man vajadzētu pārlekt uz citu tekstu, bet parādas Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\users\register.php:1) in C:\AppServ\www\users\register.php on line 40. Lieta tāda, ka apskatot kodu neredzu nevienu vietu, kur header jau būtu izsūtīts atrāk par to vietu. Kods >> http://paste.php.lv/6021 Urla uz kuru vajag pārlekt ir 40 rindā Edited September 5, 2007 by MārisL Link to comment Share on other sites More sharing options...
Val Posted September 5, 2007 Report Share Posted September 5, 2007 http://php.lv/f/index.php?showtopic=7294 Link to comment Share on other sites More sharing options...
MārisL Posted September 5, 2007 Author Report Share Posted September 5, 2007 Paldies. Vainīgs bija utf-8 formāts, kas tika saglabāts ar visiem BOM :) Link to comment Share on other sites More sharing options...
Recommended Posts