Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title><?php echo "Seatwork No. 1"; ?></title>
- </head>
- <body>
- <?php
- //number 1
- $firstname = "Warren";
- $lastname = "Malangis";
- $fullname = $firstname . " " . $lastname;
- echo "$fullname\n";
- //number 2
- $x = 5;
- $y = 18;
- $y++;
- $x--;
- $sum = $x + $y;
- echo "The sum of x and y is " . "$sum";
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement