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, Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/211503-cakephp-array/#findComment-1111501 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.