|
| |||||||||
| Tags: bdd |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Update problem bdd!
Hello, Trying to update my SQL database. When I use the following query everything works: mysql_query ( "UPDATE table SET $ login = 'Admin', pass = 'Password' WHERE login = 'Me"); But with the following query, this does not work: mysql_query ( "UPDATE table SET $ login = '$ login' pass = 'pass' WHERE login =' $ login"); Why ??? !! Thank you for helping me. |
|
#2
| ||||
| ||||
|
Try this: mysql_query ( "UPDATE $ table SET login ="'.$ login. '", pass = "pass" WHERE login ="'.$ login .'"'); |
|
#3
| |||
| |||
|
Thank you, But your code does not work. I have the following error: Parse error: parse error, unexpected T_STRING So I tried to change it, but the outcome is identical: mysql_query ( "UPDATE $ table SET login ="".$ login." pass = "" pass "" WHERE login ="".$ login .""'); I understand it ... |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Update problem bdd!" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Microsoft Security Essentials definitions update problem: virus & spyware definitions update failed; error code: 0x80080005 | OctAvio2011 | Networking & Security | 6 | 18-10-2010 05:09 PM |
| Problem with JRE 6 update | Ucchal | Windows Software | 6 | 04-08-2010 12:07 PM |
| Toshiba satellite L305D-S5893 shutdown problem or bios update problem | Colter | Portable Devices | 4 | 10-04-2010 05:19 PM |
| AVG 8.0 update problem | SSJ04 Mewtwo | AntiVirus Software | 9 | 05-02-2009 10:11 AM |
| Update on my AVG update problem | SSJ04 Mewtwo | AntiVirus Software | 0 | 02-09-2008 08:31 PM |