Lesson 1 Pl help what else is required to be done


#1

Below is my code.

<html>
    <head>
		<title></title>
	</head>
	<body>
      <p>
        <?php<
       strlen("Rajesh");
       echo 5
       </p>
    </body>
</html>

#2

@csscoder68873,

<html>
    <head>
		<title></title>
	</head>
	<body>
      <!-- the HTML <p></p> Tags represent a so-called Paragraph -->
      <p>
        <?php
           /* You encapsulate your PHP code in
              start of php-code using:: <?php
              end of the php-code using:: ?>
           */
           echo strlen("Rajesh");
           // the =echo= will fill your HTML Paragraph
        ?>
       </p>
    </body>
</html>

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.