White space management
If we echo two statements then all will come in same line.....
eg.
<html>
<head>
<title>White space management</title>
</head>
<body>
<?php
echo "Welcome to learn php";
echo "lets start with php !!!!";
?>
</body>
</html>
<head>
<title>White space management</title>
</head>
<body>
<?php
echo "Welcome to learn php";
echo "lets start with php !!!!";
?>
</body>
</html>
But with using <br> we can display it on next line as :
<html>
<head>
<title>White space management</title>
</head>
<body>
<?php
echo "Welcome to learn php";
echo "<br>lets start with php !!!!";
?>
</body>
</html>
0 comments:
Post a Comment