244863 Posted August 23, 2010 Share Posted August 23, 2010 If I have an array like: [year] => array ( [year] => '2010' ) and I want to turn it into: [year] => '2010' so that I can save it as an int in database how do I do it?? Thanks, Link to comment https://forums.phpfreaks.com/topic/211503-cakephp-array/ Share on other sites More sharing options...
jcombs_31 Posted September 15, 2010 Share Posted September 15, 2010 Be more specific in your use case. Why use an array for a single variable? Link to comment https://forums.phpfreaks.com/topic/211503-cakephp-array/#findComment-1111501 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.