Lol, dude, this is a group of symfony professionals. If you need to ask basic php questions you should check out sitepoint.com. That entire board is a more or less an entry level board that would be the appropriate place to ask.
Its great that you are trying to learn, but part of that is where and how to find your own answers. Just keep in mind that there is a level of appropriate places to find answers to these. Asking a symfony users group how a foreach loop works is not really appropriate subject matter for this users group. Anyways, keep learning, and really learn! If you just ask questions trying to get something done by a deadline then maybe you need to take a step back and learn to walk before running! On Tue, Nov 9, 2010 at 10:42, xpanshun <[email protected]> wrote: > I'm sorry if some of you feel I don't belong here because I ask for > help on things that are basic to you. I am not a developer pro. I am > doing a project for school that is due at the end of the month. > > If I could find help elsewhere I would not be here. None of my > teachers at school will help me and I have no friends that do this > stuff. I am self teaching as much as I can, but I post here when I > can't find answers on my own. Sometimes I will be looking for hours > for the answer to a question that could be answered for me here in a > few minutes. This is the most responsive discussion board I have come > across--that is why I use it. It has been a lifesaver to me because I > would not be as far along in my project without it. > > If you all feel like I am wasting your time with my questions, you do > not have to answer them. Although, I VERY MUCH appreciate when people > do take the time to help me with my novice inquiries. > > I have never worked with a development framework before and I'm > discovering how to incorporate different languages into how it works. > Therefore, what may seem obvious to others is actually not so obvious > to me. I would also like to learn more of PHP, AJAX, and other > languages when I have the time, but that time is not now--as I am > skimming off the top to get my project presentable by the deadline. > > This is why I ask questions. I just want you all to know that the > answers you all give me DO help me to learn. Maybe not as intensively > as reading a book, but I definitely have learned a lot from posting > here. > > Thank you for all of your patience and understanding. > > > On Nov 8, 12:25 am, Gareth McCumskey <[email protected]> wrote: > > This is not symfony. This is basic PHP you should know before even > > considering using symfony. Seriously, go study some PHP mate. a foreach > loop > > is autoamtically loops through an array. If you have the following code: > > > > $array_var = array (1,2,3); > > foreach ($array_var as $var) > > { > > echo $var; > > > > } > > > > you will get "123" printed out. > > > > > > > > > > > > > > > > > > > > On Sat, Nov 6, 2010 at 1:53 AM, xpanshun <[email protected]> wrote: > > > Okay this may be the dumbest inquiry ever but I can't find any > > > references to help me. > > > > > In regards to the foreach statement (<?php foreach ($products as > > > $product): ?>) used in some of the default templates... > > > > > Clearly this is a loop, but the part reading $products as $product, > > > what does that exactly mean? I am assuming that $product is an alias > > > for $products, but where is $products defined in the first place? > > > > > Also, my most important question... > > > > > What is another way to define $products as $product without using a > > > loop? > > > > > Thanks in advance. > > > > > -- > > > If you want to report a vulnerability issue on symfony, please send it > to > > > security at symfony-project.com > > > > > You received this message because you are subscribed to the Google > > > Groups "symfony users" group. > > > To post to this group, send email to [email protected] > > > To unsubscribe from this group, send email to > > > [email protected]<symfony-users%[email protected]> > <symfony-users%2bunsubscr...@goog legroups.com> > > > For more options, visit this group at > > >http://groups.google.com/group/symfony-users?hl=en > > > > -- > > Gareth McCumskeyhttp://garethmccumskey.blogspot.com > > twitter: @garethmcc > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- Alex Pilon (613) 608-1480 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
