vipsa Posted October 26, 2011 Share Posted October 26, 2011 Please can someone explain to me what the keyword as mean in the context of: foreach ($row as $attribute) I am new to php and some things just need a little explaining please. Quote Link to comment https://forums.phpfreaks.com/topic/249841-as-keyword/ Share on other sites More sharing options...
trq Posted October 26, 2011 Share Posted October 26, 2011 Foreach will iterate through each $row and store it within a variable called $attribute. Quote Link to comment https://forums.phpfreaks.com/topic/249841-as-keyword/#findComment-1282402 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.