Demo entry 6645448

this is my code

   

Submitted by anonymous on Oct 10, 2017 at 11:32
Language: PHP. Code size: 645 Bytes.

<!DOCTYPE html>
<html>
<head>
    <title>数字索引</title>
</head>
<body>
<form action="t2.php" method="post">
        <table>
            <tr>
                <td>        
                    <input type="text" name="str">
                </td>
            </tr>
            <tr>
                <td>
                    <input type="button" name="add" value="add">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
<?php 
$users = array('goff', 'jessamine', 'wanggengfa', 'lili');
$n = 1;
echo "<b>name list</b><br>";
foreach ($users as $user) {
    echo $user;
    echo '<br>';
}
?>

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).