AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters > Web Development
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Web Development Java/PHP/Perl/ASP and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old May 16, 2003, 14:11   #1
Авик
 
CyberJoe's Avatar
 
Join Date: Jul 2002
Location: Yerevan
Posts: 1,347
Rep Power: 7
Reputation: 19
Send a message via ICQ to CyberJoe
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)");
Внимание Вопрос: Почему?????????
__________________
вот собственно все, что я хотел сказать.
CyberJoe is offline   Reply With Quote Quote selected
Old May 16, 2003, 14:55   #2
Магистр
 
Join Date: Feb 2002
Location: Am
Posts: 952
Rep Power: 7
Reputation: 36
Send a message via Skype™ to Arik
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...
__________________
talent agency casting.am
Center of Internet Projects Support http://www.online.am
Armenian newspapers digest http://www.armpress.com
_ _ _ _ _ _ _
Bud'te proshe i narod k vam potyanetca
Arik is offline   Reply With Quote Quote selected
Old May 16, 2003, 15:38   #3
Авик
 
CyberJoe's Avatar
 
Join Date: Jul 2002
Location: Yerevan
Posts: 1,347
Rep Power: 7
Reputation: 19
Send a message via ICQ to CyberJoe
Re: Re: insert in mysql

shas poprobuju spasibo dumaju srabotaet!
__________________
вот собственно все, что я хотел сказать.
CyberJoe is offline   Reply With Quote Quote selected
Old May 16, 2003, 16:49   #4
ppz kkz
 
Davit's Avatar
 
Join Date: Mar 2003
Location: at home
Posts: 110
Rep Power: 6
Reputation: 29
Send a message via ICQ to Davit
ili poprobuj tak:

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

odno i toje
Davit is offline   Reply With Quote Quote selected
Old May 17, 2003, 06:18   #5
Stalker
 
Timewind's Avatar
 
Join Date: Sep 2002
Location: Припять
Posts: 847
Rep Power: 7
Reputation: 14
Send a message via ICQ to Timewind Send a message via Skype™ to Timewind
senc a ashxatum

mysql_query("insert into users (username, password, birthday) values ('$username', '$pass', '$birthday')");
__________________
... for long you live and high you fly ...
Timewind is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:48.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link