In the processing page i write
Code: Select all
$sql="INSERT INTO storage (tags,trusted)VALUES('$tags','0')";The above query send trusted values as a string(i think) but in db it's of tinyint(1)
So is there any need to send values as
Code: Select all
VALUES('$tags',0)Code: Select all
VALUES('$tags','0')