Show pageOld revisionsBacklinksFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== PHP ====== ==== Display an array ==== Display an array with a for loop : <code php> $array = array(); foreach ($array as $key => $value) { echo $key." => ".$value."<br>"; } </code> Alternately you can display an array on one line using the method : <code php> $array = array(); print_r($array); </code> ==== Renaming a Form submit button ==== <code php> <input name="form" type="submit" value="Name"/> </code> programming/php.txt Last modified: 2021/06/17 22:18by mh