Autor | Zpráva | ||
---|---|---|---|
Tred Profil |
#1 · Zasláno: 5. 3. 2006, 11:54:20
$sql = 'ALTER TABLE `uzivatele` CHANGE `Username` `Username` VARCHAR(12) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `Password` `Password` VARCHAR(12) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `PasswordVerify` `PasswordVerify` VARCHAR(12) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `EmailAddress` `EmailAddress` VARCHAR(32) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `name` `name` VARCHAR(15) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `surname` `surname` VARCHAR(20) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `birthdate` `birthdate` VARCHAR(10) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `platforma` `platforma` TEXT CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `photo` `photo` TEXT CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `address` `address` VARCHAR(64) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `icqnumber` `icqnumber` VARCHAR(11) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `skypenick` `skypenick` VARCHAR(32) CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `web` `web` TEXT CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `nazor` `nazor` TEXT CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `MessageType` `MessageType` TEXT CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `MessageType2` `MessageType2` TEXT CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `MessageType3` `MessageType3` TEXT CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL, CHANGE `MessageType4` `MessageType4` TEXT CHARACTER SET latin2 COLLATE latin2_czech_cs NOT NULL';
JAK TO MÁM NAPSAT DO PHP KÓDU??? |
||
djlj Profil |
#2 · Zasláno: 5. 3. 2006, 12:06:23
Myslím, že by teď jen stačilo mysql_query($sql);
|
||
Tred Profil |
#3 · Zasláno: 5. 3. 2006, 12:08:11
Jé nazdar.
ale jak mohl bys to prosím napsat celý jak to má vypadat. Díkes |
||
Jakub Profil |
#4 · Zasláno: 5. 3. 2006, 12:19:49
$pripojeni=mysql_connect("server", "login", "heslo");
mysql_select_db("databaze"); $sql=.......... $dotaz=mysql_query($sql); mysql_close($pripojeni); Lidi nebuďte líní hledat, tohle je v desítkách tutoriálů na webu i v téhle diskuzi. |
||
Časová prodleva: 19 let
|
Toto téma je uzamčeno. Odpověď nelze zaslat.
0