what could be the reason
#1

Hello i am trying to insert into my sql table called groups but i get a warning :
Код:
[Warning] db_query: Query failed: groups.x may not be NULL
what could be the reason? i am not understanding the warning i jus want to know what the warning means and what could be the reason
Reply
#2

As the warning says, none of the Rows can be Null. You probably has set Not Null in database. either remove it from DB or set a default value for warning to go.
Reply
#3

Thank you very much i found the issue i was setting float to 'float NOT NULL' now i changed it into 'FLOAT' and it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)