note 129207 added to function.echo

From: Date: Tue, 30 Jan 2024 16:46:26 +0000
Subject: note 129207 added to function.echo
Groups: php.notes 
Request: Send a blank email to php-notes+get-221161@lists.php.net to get a copy of this message
We can use echo for format html, for example we can use it to make tables. <?php $n = rand(); echo ("<p>The multiplication table of $n:</p>"); echo ('<table border="1"><th>n1</th><th>n2</th><th>Result</th>'); for ($i = 10; $i >= 0; $i--) echo ("<tr><td> $n </td> <td> $i </td> <td>". $n*$i . "</td></tr>"); echo ("</table>"); ?> ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 139.47.59.124) ---- Manual Page -- https://php.net/manual/en/function.echo.php Edit -- https://main.php.net/note/edit/129207 Del: integrated -- https://main.php.net/note/delete/129207/integrated Del: useless -- https://main.php.net/note/delete/129207/useless Del: bad code -- https://main.php.net/note/delete/129207/bad+code Del: spam -- https://main.php.net/note/delete/129207/spam Del: non-english -- https://main.php.net/note/delete/129207/non-english Del: in docs -- https://main.php.net/note/delete/129207/in+docs Del: other reasons-- https://main.php.net/note/delete/129207 Reject -- https://main.php.net/note/reject/129207 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221161) next »