everytime I upload something I get this message:
Unknown column 'keyword4' in 'field list'
The thing is, everything else works. When I upload in phpmyadmin, everything shows up.
the error shows only when I go thro user login to upload stuff.
What could be problem? :/
Page 1 of 1
Error :(
#1
Posted 02 January 2009 - 08:56 PM
#2
Posted 12 January 2009 - 11:22 AM
bump....anyone? O_______O;
#3
Posted 12 January 2009 - 03:45 PM
Okay I have no idea what you are talking about. Did you try typing your error in google or something? This is what I came up with.
Just a note that when you’re trying to insert data into a table and you get the error
Unknown column ‘the first bit of data what you want to put into the table‘ in ‘field list’
using something like
INSERT INTO table (this, that) VALUES ($this, $that)
it’s because you’ve not got any apostrophes around the values you’re trying to stick into the table. So you should change your code to:
INSERT INTO table (this, that) VALUES (’$this’, ‘$that’)
Source
Just a note that when you’re trying to insert data into a table and you get the error
Unknown column ‘the first bit of data what you want to put into the table‘ in ‘field list’
using something like
INSERT INTO table (this, that) VALUES ($this, $that)
it’s because you’ve not got any apostrophes around the values you’re trying to stick into the table. So you should change your code to:
INSERT INTO table (this, that) VALUES (’$this’, ‘$that’)
Source
Share this topic:
Page 1 of 1












