⊗ppPmSFPO 285 of 447 menu

Inserting PHP Code into HTML

Let's say we have some HTML code:

<p>text</p>

We can insert PHP code inside this code:

<p><?php 'any code' ?></p>

Let's, for example, output some text:

<p><?php echo 'text'; ?></p>

And now the result of the function:

<p><?php echo sqrt(4); ?></p>

Given a paragraph:

<p></p>

Output the current date in the format year-month-day into it.

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