Hi everybody,
I have a Problem whith the following line:
var myInsertQuery = "INSERT INTO test (id, customerId, amount)Values(trade.OtherSID, 0, 0)";
Unknown Column 'trade.OtherSID' in 'field list'
Somebody know how to fix it?
If I write:
PrintConsole("THE ID: " + trade.OtherSID + " .", ConsoleColor.Red);
it output the right ID, like:THE ID: STEAM_0:1:12345123 .
#CLOSED!!!
Loading

Shivanand ArurRank #920 · 2.3K reputationPosted Sep 29, 2012, 2:27 AM EDT
Shivanand ArurRank #920 · 2.3K reputationPosted Sep 29, 2012, 2:56 AM EDT
meinenr97 reputationPosted Sep 29, 2012, 3:02 AM EDT
This is the User with whom I am in steam in trade
OtherSID:
This get the Steam ID from the User.
Shivanand ArurRank #920 · 2.3K reputationPosted Sep 29, 2012, 3:03 AM EDT
http://www.techsupportforum.com/forums/f49/solved-php-mysql-unknown-column-in-field-list-374532.html
http://coding-talk.com/f14/mysql-error-unknown-column-in-field-list-11633/
http://stackoverflow.com/questions/1346209/unknown-column-in-field-list-error-on-mysql-update-query
http://www.codeproject.com/Questions/458833/Multiple-errors-in-MYSQL-database-problems-with-IN
meinenr97 reputationPosted Sep 29, 2012, 3:04 AM EDT
Shivanand ArurRank #920 · 2.3K reputationPosted Sep 29, 2012, 3:30 AM EDT
meinenr97 reputationPosted Sep 29, 2012, 3:47 AM EDT
meinenr97 reputationPosted Sep 29, 2012, 3:48 AM EDT
var myInsertQuery = "INSERT INTO test (id) Values ('trade.OtherSID')";
But now they only write trade.OtherSID as text in my line.
If i use:
var myInsertQuery = "INSERT INTO test (id) Values (trade.OtherSID)";
it said: Unknown solumn 'trade.OtherSID' in 'field list'
Shivanand ArurRank #920 · 2.3K reputationPosted Sep 29, 2012, 3:59 AM EDT
Sorry once again!!!
meinenr97 reputationPosted Sep 29, 2012, 4:05 AM EDT
Shivanand ArurRank #920 · 2.3K reputationPosted Sep 29, 2012, 4:06 AM EDT
They will be able to help you out....
meinenr97 reputationPosted Sep 29, 2012, 4:15 AM EDT
Shivanand ArurRank #920 · 2.3K reputationPosted Sep 29, 2012, 4:22 AM EDT
Sorry for the inconvenience caused by me!!!
meinenr97 reputationPosted Sep 29, 2012, 4:59 AM EDT
Nitesh KejriwalRank #253 · 9.9K reputationPosted Oct 15, 2012, 3:27 AM EDT
var myInsertQuery = "INSERT INTO test (id, customerId, amount)Values("+trade.OtherSID+", 0, 0)";