Incorrect integer value

QuestionsIncorrect integer value
Manndi asked 3 years ago

Hello
I get this error if i would a add a new row

Incorrect integer value: ” for column ‘fg_id’ at row 1

I use

$var = 4;
$col[“editoptions”] = array(“value” => $var);

for the field fg_id

 

 

1 Answers
Abu Ghufran Staff answered 3 years ago

It looks like your field fg_id is auto-increment and you trying to insert a custom value in it.
The auto-increment column value should be skipped while inserting row.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

5 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?