PHP – While Loops Eli the Computer Guy PHP Programming (NEW) While loops allow you to repeat code while a condition remains true. <?php $x = 6; while($x <= 10) { print "hello for the $x time."; print "<br>"; $x++; } ?> PHP
PHP Programming (NEW) PHP – Logical Operators Eli the Computer Guy PHP Programming (NEW) Logical Operators allow you to use AND or OR in comparisons for Loops and If Statements.
*NEW PHP – Test Variable Against an Array with in_array() Eli the Computer Guy *NEW, PHP Programming (NEW) The in_array() function allows you to check if a value is stored with an Array. This can be used for things such as creating an array of which states a company ships products to. in_array() […]
PHP Programming (NEW) PHP – Access Array Values – Foreach() Eli the Computer Guy PHP Programming (NEW) The foreach() function allows you to loop though an array to process the values as variables.
Be the first to comment