iall Posted November 19, 2007 Report Share Posted November 19, 2007 (edited) CREATE TABLE person ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, virsraksts varchar(15), jaunumi ?, jaunumi2 ?, autors varchar(20), ) Nezinu ko likt jaunumi un jaunumi2 vietā ,tur kur ta jautājumu zīmīte! :( "Jaunumi" parādīs sākuma tekstu ,tad būs "Lasīt vairāk" un "jaunumi2" parādīs pilno tekstu. Edited November 19, 2007 by iall Link to comment Share on other sites More sharing options...
andrisp Posted November 19, 2007 Report Share Posted November 19, 2007 droši vien TEXT. Link to comment Share on other sites More sharing options...
iall Posted November 19, 2007 Author Report Share Posted November 19, 2007 LONGTEXT nevar? Link to comment Share on other sites More sharing options...
bubu Posted November 19, 2007 Report Share Posted November 19, 2007 Var, tik atšķirību palasi pats MySQL dokumentācijā. Link to comment Share on other sites More sharing options...
iall Posted November 19, 2007 Author Report Share Posted November 19, 2007 Jau izlasīju :P Text - Holds a variable string with a maximum length of 65535 characters Longtext - Holds a variable string with a maximum length of 4294967295 characters Link to comment Share on other sites More sharing options...
pilots Posted November 20, 2007 Report Share Posted November 20, 2007 nu ja reiz izlasīji, tad kur bēda? izvēlies ko vēlies. Link to comment Share on other sites More sharing options...
iall Posted November 20, 2007 Author Report Share Posted November 20, 2007 Raksti ko izvēlējies :D P.S. - Bēdu nav. Link to comment Share on other sites More sharing options...
wingmanz Posted November 21, 2007 Report Share Posted November 21, 2007 nu parasti pietiek vnk ar text. diez vai jaunumos kāds mēģinās publicēt veselas grāmatas.. Link to comment Share on other sites More sharing options...
Delfins Posted November 21, 2007 Report Share Posted November 21, 2007 Vispār jau paņem jebkuru PHP/MYSQL skriptu no hotscripts.com un skaties, kas tur un kā uztaisīts. Vot problēma.. Link to comment Share on other sites More sharing options...
Recommended Posts