Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Column count doesn't match value count at row 1
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ultra" data-source="post: 296945" data-attributes="member: 2174"><p>It means that you have more or less columns than values or vice versa in the SQL.</p><p></p><p>For example:</p><p>[CODE]INSERT INTO `catalog_items` (`id`, `page_id`, `item_ids`, `catalog_name`, `cost_credits`, `cost_pixels`, `cost_snow`, `amount`) VALUES</p><p>(757369052, '310', '757369052', 'wildwest_spittoon2', '5', '0', '0', '1');[/CODE]</p><p>That would work because there are 8 columns and 8 values in the SQL code.</p><p></p><p>[CODE]INSERT INTO `catalog_items` (`id`, `page_id`, `item_ids`, `catalog_name`, `cost_credits`, `cost_pixels`, `cost_snow`, `amount`) VALUES</p><p>(757369052, '310', '757369052', 'wildwest_spittoon2', '5', '0', '0', '1', '0');[/CODE]</p><p>However, that won't work because there are 8 columns and 9 values.</p><p></p><p>If the amount of columns and values don't match, it won't be able to enter your SQL.</p></blockquote><p></p>
[QUOTE="Ultra, post: 296945, member: 2174"] It means that you have more or less columns than values or vice versa in the SQL. For example: [CODE]INSERT INTO `catalog_items` (`id`, `page_id`, `item_ids`, `catalog_name`, `cost_credits`, `cost_pixels`, `cost_snow`, `amount`) VALUES (757369052, '310', '757369052', 'wildwest_spittoon2', '5', '0', '0', '1');[/CODE] That would work because there are 8 columns and 8 values in the SQL code. [CODE]INSERT INTO `catalog_items` (`id`, `page_id`, `item_ids`, `catalog_name`, `cost_credits`, `cost_pixels`, `cost_snow`, `amount`) VALUES (757369052, '310', '757369052', 'wildwest_spittoon2', '5', '0', '0', '1', '0');[/CODE] However, that won't work because there are 8 columns and 9 values. If the amount of columns and values don't match, it won't be able to enter your SQL. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Column count doesn't match value count at row 1
Top