PHP – Access Named Keys in Arrays – Foreach() Eli the Computer Guy PHP Programming (NEW) The foreach() function can turn Named Keys into variables just like it does array values. <?php $reportcard = array('Mary' => 'B+', 'Tim' => 'A', 'Sue' => 'C'); foreach($reportcard as $names => $grade){ print "$names: $grade </br>"; } ?> PHP
PHP Programming (NEW) PHP – Sort Array by Key – ksort() and krsort() Eli the Computer Guy PHP Programming (NEW) You can sort arrays by key with ksort() and krsort().
PHP Programming (NEW) PHP – Send Data to PHP with HTML Form Eli the Computer Guy PHP Programming (NEW) Sending data to PHP from an HTML form is easy.
*NEW Raspberry Pi – Install a LAMP Server (Linux, Apache, MariaDB, PHP) Eli the Computer Guy *NEW, Raspberry Pi You can turn your Raspberry Pi with Raspberry PI OS into a full LAMP web server. We use MariaDB because MySQL is not provided in the main repository and it is a drop in replacement […]
Be the first to comment