Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

As part of the submission for this Lab, you will create your own Web page that u

ID: 3684918 • Letter: A

Question

As part of the submission for this Lab, you will create your own Web page that uses both HTML and PHP to create several different tables providing specific information. You will get a chance to use most of the concepts you studied so far in this course as you will apply both HTML and PHP code to this exercise.
Specifically, you will create a Web application that provides 3 different tables. Each table will consist of at least 2 rows and 2 columns. You may need to add more cells depending upon how you subdivide your display.

The second table should include a famous quote (or quote that you like) and three slightly modified versions of that quote. You should use existing PHP functionality to modify the quote. The modifications are described below:

The location of all letters that are equal to ‘t’ | Find and display the location of all t’s in your string quote.

I need a code in php that will search my quote for all the letter t's and return their position.

Explanation / Answer

<html>
   <head>
   </head>

   <body>
       <table border=2>
           <tr>
               <th>Student Names</th>
               <th>Marks</th>
           </tr>
           <tr>
               <td>AAA</td>
               <td>99</td>
           </tr>
       </table>

       <table border=2>
           <tr>
               <th>Class Teacher</th>
               <th>Class</th>
           </tr>
           <tr>
               <td>CCC</td>
               <td>5</td>
           </tr>

       </table>
   </body>
       <?php
           $s="tit for tat";

           echo $s;
           echo 'count of t is';
           echo substr_count($s, 't');

           echo strrpos(s,'t');

       ?>


</html>