You need to name your PHP files with a .php extension for them to work on your server. Past this you use the PHP Tags to trigger scripts within a web page.
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 […]
You can create an HTML form that allows you to search records in your MySQL Tables and print the results in a web browser. In these project we use LIKE and wildcards for the query […]
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; […]
Be the first to comment