|
|
|
|
Title: PHP Tutorial - 14 - Foreach Array Loops
Added: Mar 6, 2008
Author: thenewboston
Duration: 3:38
Description:
visit www.thenewboston.com for all my tutorials!
Related Videos:
Videos related to 'PHP Tutorial - 14 - Foreach Array Loops'
Channel: Howto
Tags: php tutorials tutorial mysql how to howto learn basic 101 advanced programming computer
php tutorials tutorial mysql how to howto learn basic 101 advanced programming computer
Youtube Comments: 41
iamtheeskimofriend Says:
Dec 7, 2009 - I agree. If you are going to teach, you need to teach proper syntax. It's the equivalent to a biology teacher leaving out connective tissue, an english teacher leaving out periods and a math teacher leaving out parentheses that are necessary to solve a problem in the correct order. It would also be useful to explain why a foreach statement is useful in a real world application, because your example doesn't give the foreach statement the merit it deserves.
CL0udnyn3 Says:
Dec 27, 2009 - I don't understand the significance of $x in PHP as when I change my variable letter to anything other than x it won't display so i figure $x is something special in PHP?
CL0udnyn3 Says:
Dec 27, 2009 - I like Array_values as it offers a more complex and detailed view of the array but for a simple view the foreach and for loops you showed work.
onnoman Says:
Jan 10, 2010 - What is the reason you get arrayarrayarray when you do: echo $test;?
larobertson04 Says:
Feb 2, 2010 - I was thinking the same thing.
cocodibani Says:
Apr 8, 2010 - I'm unsure on how to structure a code correctly to give a command within my WHILE loop after executing an IF statement, can you take a look at this thread i posted? tinyurl [dot] com/y8e8jod thank you
cocodibani Says:
Apr 8, 2010 - nice
TheErroneousOne Says:
May 30, 2010 - I would think it's pretty confusing to the viewer that you keep switching from using single ' marks from quotation " marks. I don't know PHP very well, but I'm assuming they are some-what interchangeable. The viewer may not though.
mangoprojects Says:
Jun 10, 2010 - Genius. - BehindVFX
mangoprojects Says:
Jun 10, 2010 - Genius. - BehindVFX
mangoprojects Says:
Jun 10, 2010 - Genius. - BehindVFX
TheRealAuxiliary Says:
Jul 15, 2010 - Usefull for making websites :)
coolcam262 Says:
Aug 21, 2010 - Thank you so much...
imwithswat Says:
Oct 16, 2010 - CHECK OUT MY CHANEL TO LEARN HOW TO LEARN IT IN ABOUT 17 HOURS
nwas555 Says:
Oct 27, 2010 - thank you very much for this useful tutorial Waled
COMMANO38 Says:
Nov 19, 2010 - I love the foreach loop :p
TheEliseoReyes Says:
Nov 30, 2010 - Great video!
keirnus Says:
Dec 19, 2010 - for each elements of $test is treated as $x (one at a time starting from the 1st) and echoed.
HawxTeamDelta Says:
Feb 23, 2011 - wow this is useful for making calendar
hammadghulam Says:
Mar 29, 2011 - let me foreach myself.................
0oxcmdhackerxo0 Says:
Jun 25, 2011 - I forgot -br /-
0oxcmdhackerxo0 Says:
Jun 25, 2011 - Utube don't let me post open tags
pivotofpower Says:
Aug 18, 2011 - I'd say its only about 98 percent easier, but you were on the right track.
TheAnimefan112 Says:
Sep 28, 2011 - 100x easier he said, not 100%.learn2math












iamtheeskimofriend Says:
Dec 7, 2009 - Imagine you have a database where there are a LOT more values (hundreds or thousands) it's far less complicated to type than the for statement.