Jump to content

mysql Error message: Unknown column 'xxx' in 'field list'


spenceddd

Recommended Posts

Hi I keep getting this error when trying to update a row in my database:

 

Unknown column 'xxx' in 'field list'

 

the line of code which must be responsible for this is:

 

$query="UPDATE PortfolioItems SET PortfolioItems.name=$name WHERE id=$id";

 

...even though there is a colomn called name in my database.

 

Can anyone help?

 

Thanks

 

Spencer

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.