Naming Keys in Arrays makes it easier to verify you are interacting with the appropriate data in an array.
Variables in PHP can be set without needing to be declared. <?php $string = “Hello World”; $int = 1; $float = 2.2; print “<h1>String</h1>”; print $string; print “<h1>Int</h1>”; print $int; print “<h1>Float</h1>”; print $float; […]
You can write variables to a file with file_put_contents(). If the file pointed to does not exist it will be created. By adding FILE_APPEND this will append data to the created file, if not the […]