Echo Keyword Functionality in PHP
Sample 1 : Echo Usage
1 : Echo is used to print data.2 : As I had described in my Old Echo Functionality post.
3 : Echo is used to print multiple stings at a time. Like
4 : You Know what is my name!.....My name is +Samee Ullah Feroz
Print Keyword Functionality in PHP
Sample 2 : Print Usage
1 : Print is used to print date same as echo does. But....2 : Print keyword is used to print a single sting at a time.
3 : You Know what is my name!.....
[Note] : As you can see in 3rd statement of Print Keyword Functionality. 2nd Half Part is not printed. as Echo keyword did.
<html>
<head>
<title>Echo And Print Keywords Differance in PHP : 3rd Day Lecture : Samee</title>
</head>
<body>
<h1 align="center">Echo Keyword Functionality in PHP</h1>
<h2 align="left">Sample 1 : Echo Usage</h2>
<?php echo "1 : Echo is used to print data. <br />"?>
<?php echo "2 : As I had described in my Old Echo Functionality post. <br />" ?>
<?php echo "3 : Echo is used to print multiple stings at a time. Like <br />" ?>
<?php echo "4 : You Know what is my name!.....","My name is <b>Samee Ullah Feroz</b>" //Here echo print "You Know what is my name!.....My name is Samee Ullah Feroz" at a time ?>
<h1 align="center">Print Keyword Functionality in PHP</h1>
<h2 align="left">Sample 2 : Print Usage</h2>
<?php print "1 : Print is used to print date same as echo does. But.... <br />" ?>
<?php print "2 : Print keyword is used to print a single sting at a time. <br />" //Like This Line is printed. String is the collection of alfabetes ?>
<?php print "3 : You Know what is my name!....." /*,"My Name is Samee Ullah Feroz"*/ ?>
<hr width="30%" align="center">
<?php echo "<b>[Note] :</b> As you can see in 3rd statement of Print Keyword Functionality. 2nd Half Part is not printed. <i>as Echo keyword did.</i>" ?>
</body>
</html>






