List piemērs - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of List piemērs.php
- <?php
- $myList = [
- 'This',
- 'is',
- 'a',
- 'lot',
- 'of',
- 'seperate',
- 'list',
- 'items',
- 'and',
- 'you',
- 'can',
- 'add',
- 'any',
- 'extra',
- 'how',
- 'mutch',
- 'you',
- 'want',
- ];
- echo '<ul>';
- foreach($myList as $oneItem) {
- echo '<li>'.$oneItem.'</li>';
- }
- echo '</ul>';
- ?>
File Description
- List piemērs
- PHP Code
- 15 Sep-2021
- 425 Bytes
You can Share it:
Latest PHP Pastes