MārisL Posted August 28, 2007 Report Share Posted August 28, 2007 (edited) Man tut ir teikts, ka jāizveido tabula 'users' ar šādiem nosacijumiem. Skaidra man nav viena lieta. MySQL: 1. CREATE TABLE users ( 2. id INT(11) NOT NULL AUTO_INCREMENT, 3. username VARCHAR(30) NOT NULL, 4. password CHAR(40) NOT NULL, 5. email VARCHAR(70), 6. active CHAR(32), 7. PRIMARY KEY(id) 8. ); Veidojot tabulu tā ir jāveido ar 1 (Number of fields) vai vairākiem (nepieciešams noteikts skaitlis)? Edited August 28, 2007 by MārisL Link to comment Share on other sites More sharing options...
Delfins Posted August 28, 2007 Report Share Posted August 28, 2007 ak jēl, pastudē SQL ... PS: 5 fieldi Link to comment Share on other sites More sharing options...
Grey_Wolf Posted August 28, 2007 Report Share Posted August 28, 2007 uzliec PHPMyAdmin... 10 klikskji ar peli biskjin ar klavieri un tabula gatava.... Link to comment Share on other sites More sharing options...
MārisL Posted August 28, 2007 Author Report Share Posted August 28, 2007 Nevarētu kāds izveidot man sql failu, lai automatiski varu iemest viņu iekšs phpmyadmin. Jo itkā esmu izveidojis, bet skripts neiet, tādēļ domāju, ka vaina varētu būt db Link to comment Share on other sites More sharing options...
Val Posted August 28, 2007 Report Share Posted August 28, 2007 izdzēs rindas, kurās ir cipars no 1 līdz 8. Link to comment Share on other sites More sharing options...
MārisL Posted August 28, 2007 Author Report Share Posted August 28, 2007 izdzēs rindas, kurās ir cipars no 1 līdz 8. paldies Link to comment Share on other sites More sharing options...
Recommended Posts