Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // assigning values to a variable.
- $name = 'Tryton';
- $favourite = 'Stone Sour';
- // showing the text.
- echo "Hello my name is " . $name . " and my favourite band it's " . $favourite;
- echo "<br /><br />";
- function addNumbers($first, $second){
- echo $first + $second;
- }
- addNumbers("10", "5");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement