phpmady Posted April 8, 2010 Share Posted April 8, 2010 Hi guys, this is the sql statement am passing in php where the value is not inserting the structure i used for Section_ID is int(11) INSERT Into sms (SMS_Name,SMS_Mobile,SMS_Email,SMS_Active,Section_ID,Country_ID,City_ID) VALUES ('asdf sa','sdaf saf','','1','1,4,3','8','2') Link to comment https://forums.phpfreaks.com/topic/197999-why-value-is-not-inserting-when-the-value-is-seperated-by-comma-in-php/ Share on other sites More sharing options...
PFMaBiSmAd Posted April 8, 2010 Share Posted April 8, 2010 '1,4,3' is not an integer. It is a comma separated list of numeric digits. Link to comment https://forums.phpfreaks.com/topic/197999-why-value-is-not-inserting-when-the-value-is-seperated-by-comma-in-php/#findComment-1038967 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.