![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Sometimes I need to update datas just after a select, for example : SELECT * FROM users WHERE login = 'the_login' and password = 'the_password'; |
|
and UPDATE users SET date_connexion = NOW(); To take the network load, is it possible to send this two requests using just one request TCP with mysql server? In my case the client is PHP with dbo object. |
#4
| |||
| |||
|
|
Hello, Sometimes I need to update datas just after a select, for example : SELECT * FROM users WHERE login = 'the_login' and password = 'the_password'; and UPDATE users SET date_connexion = NOW(); To take the network load, is it possible to send this two requests using just one request TCP with mysql server? In my case the client is PHP with dbo object. Thanks. |
#5
| |||
| |||
|
|
UPDATE users SET date_connexion=NOW() WHERE login = 'the_login' and password = 'the_password'; |
#6
| |||
| |||
|
|
Le 17/11/2010 13:59, The Natural Philosopher a écrit : UPDATE users SET date_connexion=NOW() WHERE login = 'the_login' and password = 'the_password'; Ok but I want to execute a select to display other information as name, sex... |
![]() |
| Thread Tools | |
| Display Modes | |
| |