PHP – Setting Variables Eli the Computer Guy PHP Programming (NEW) 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; ?> PHPVariables
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.
PHP Programming (NEW) PHP – Set and Read Cookies – setcookie() Eli the Computer Guy PHP Programming (NEW) Cookies allow you to set variables that are persistent between multiple visits to a website.
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().
Be the first to comment