Please remember, you have to run your PHP scripts through the webserver.
So your address bar should look like `[
localhost]` or `localhost`
If your address bar starts with `file:///` then you are running the script but not through the web server. Only the web server has access to the PHP interpreter.
It can be a little confusing at first as javascript and css and all the other stuff can work quite happily using `file:///` but PHP will not
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-