Last active
August 16, 2024 07:36
-
-
Save JeffreyWay/2f4ea9ba7af00ee878bbff65f48cbb2a to your computer and use it in GitHub Desktop.
PHP For Beginners, Ep 4 - Variables https://laracasts.com/series/php-for-beginners-2023-edition/episodes/4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Demo</title> | |
</head> | |
<body> | |
<h1> | |
<?php | |
$greeting = "Hello"; | |
$noun = "World"; | |
echo "$greeting $noun" . "!" | |
?> | |
</h1> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Demo</title> | |
</head> | |
<body> | |
<h1> | |
<?php | |
$greeting = "Hello"; | |
echo "$greeting Everybody!" | |
?> | |
</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$greeting = "Hello";
echo "$greeting Sajjal!";