Ninjakreborn Posted June 7, 2006 Author Share Posted June 7, 2006 thanks, but what about that k=>as something what does that mean, I understand the error message part, and I might start using that but the bottom, I don't understand what that for each statement is doing with the letters. Quote Link to comment Share on other sites More sharing options...
ober Posted June 7, 2006 Share Posted June 7, 2006 The foreach it taking your array and splitting it into key/value pairs. It loops through the array and each time you go through the guts of the foreach, you'll have the key => value pair in the $k and $v variables. I normally use $key and $val instead of $k and $v. Quote Link to comment 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.