insert in mysql
Old 16.05.2003, 14:11   #1
Авик
 
CyberJoe's Avatar
 
Join Date: 07 2002
Location: Yerevan
Age: 39
Posts: 1,348
Rep Power: 0
Default insert in mysql

Буду краток:
это работает:mysql_query("INSERT INTO T(NICK,LOGIN,PASSWORD) VALUES(\"AAA\",\"BBB\",\"CCC\")");
А это нет:mysql_query("INSERT INTO T(NICK,LOGIN,PASSWORD) VALUES($Nick,$Login,$password)");
Внимание Вопрос: Почему?????????

Re: insert in mysql
Old 16.05.2003, 14:55   #2
Магистр
 
Join Date: 02 2002
Location: Am
Posts: 952
Rep Power: 5
Default Re: insert in mysql

Quote:
Originally posted by CyberJoe
Буду краток:
это работает:mysql_query("INSERT INTO T(NICK,LOGIN,PASSWORD) VALUES(\"AAA\",\"BBB\",\"CCC\")");
А это нет:mysql_query("INSERT INTO T(NICK,LOGIN,PASSWORD) VALUES($Nick,$Login,$password)");
Внимание Вопрос: Почему?????????
poprobuj:
mysql_query("INSERT INTO T(NICK,LOGIN,PASSWORD) VALUES(\"$Nick\",\"$Login\",\"$password\")");
polya u tebya textovie poetomu skoree vsego peremenie bez kovi4ek ne vosprinimaet...

Re: Re: insert in mysql
Old 16.05.2003, 15:38   #3
Авик
 
CyberJoe's Avatar
 
Join Date: 07 2002
Location: Yerevan
Age: 39
Posts: 1,348
Rep Power: 0
Default Re: Re: insert in mysql

shas poprobuju spasibo dumaju srabotaet!

Old 16.05.2003, 16:49   #4
ppz kkz
 
Davit's Avatar
 
Join Date: 03 2003
Location: at home
Age: 42
Posts: 111
Rep Power: 5
Default

ili poprobuj tak:

mysql_query("INSERT INTO T(NICK,LOGIN,PASSWORD) VALUES('$Nick','$Login','$password')");

odno i toje

Old 17.05.2003, 06:18   #5
Stalker
 
Timewind's Avatar
 
Join Date: 09 2002
Location: Припять
Age: 92
Posts: 853
Rep Power: 5
Default

senc a ashxatum

mysql_query("insert into users (username, password, birthday) values ('$username', '$pass', '$birthday')");
Reply

Thread Tools



Реклама:
реклама
Buy text link .

All times are GMT. The time now is 17:11.
Top

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.