PHP Taskbook Level 9.2
Two numbers are divided by each other, the result is a periodic fraction. Write a code that will determine the period of this fraction.
A form with an input is given. An integer is entered into the input. After sending the form, output the decomposition of this number into prime factors in a paragraph.
Given a form with two inputs. When the form is submitted, output a list of ul all prime numbers from the interval specified by the input values.
Let the following table be stored in the database:
| id | name | age | salary |
|---|---|---|---|
| 1 | user1 | 23 | 400 |
| 2 | user2 | 25 | 500 |
| 3 | user3 | 23 | 500 |
When you visit the site page, display this table as an HTML table as follows:
<table>
<tr>
<th>id</th>
<th>name</th>
<th>age</th>
<th>salary</th>
</tr>
<tr>
<td>1</td>
<td>user1</td>
<td>23</td>
<td>400</td>
</tr>
<tr>
<td>2</td>
<td>user2</td>
<td>25</td>
<td>500</td>
</tr>
<tr>
<td>3</td>
<td>user3</td>
<td>23</td>
<td>500</td>
</tr>
</table>