https://github.com/codeadamca/php-introduction
A super basic introduction to PHP.
https://github.com/codeadamca/php-introduction
beginners filezilla learning-code php upload
Last synced: about 2 months ago
JSON representation
A super basic introduction to PHP.
- Host: GitHub
- URL: https://github.com/codeadamca/php-introduction
- Owner: codeadamca
- Created: 2020-05-06T10:54:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-26T22:16:18.000Z (11 months ago)
- Last Synced: 2025-01-26T23:19:49.845Z (11 months ago)
- Topics: beginners, filezilla, learning-code, php, upload
- Language: PHP
- Homepage: https://professoradamthomas.com/learning/php/introduction.html
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Basic Introduction to PHP
A super basic introduction to PHP.
This tutorial will review the purpose of using a server-side language such as PHP and walk through the process of creating and testing your first PHP file. Here is how you use PHP to display a "Hello World" message:
```php
Hello World!';
?>
```
## Steps
1. Open up a new file and name it intro.php.
2. Fill the intro.php file with the standard HTML tags (`doctype`, `html`, `head`, `body`, and `title`).
3. In the `body` add a heading using an HTML `h1` tag.
4. After the heading add an open and close PHP tag (``).
5. Within the PHP tags use `echo` to display the message "Hello World".
6. Upload the PHP file to your server (or use your localhost) and test using a browser and your domain name.
> Full tutorial URL:
> https://codeadam.ca/learning/php-introduction.html
***
## Repo Resources
* [Visual Studio Code](https://code.visualstudio.com/)
* [Filezilla](https://filezilla-project.org/)
* [PHP](https://php.net)