54 of 100 menu

PHP Taskbook Level 6.4

Given a form with an input. The input is a year. Output to the list ul the dates of all Fridays 13-th in the given year.

Given a form with textarea. Text is entered into textarea. Get the first word of each sentence in the text and display it on the screen.

You are given 3 inputs. You enter numbers into them. Check that these numbers are a Pythagorean triple: the square of the largest number must be equal to the sum of the squares of the other two.

The following array is given:

<?php $arr = [ ['name' => 'user1', 'age' => 30, 'salary' => 500], ['name' => 'user2', 'age' => 31, 'salary' => 600], ['name' => 'user3', 'age' => 32, 'salary' => 700], ]; ?>

Generate the following code using this array:

<table> <tbody> <tr> <td>1</td> <td>user1</td> <td>30</td> <td>500</td> </tr> <tr> <td>2</td> <td>user2</td> <td>31</td> <td>600</td> </tr> <tr> <td>3</td> <td>user3</td> <td>32</td> <td>700</td> </tr> </tbody> </table>
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline