array help in php

Hello :
Thanks advance
help is array
[php]

<?php $countall = array('1','2','a','b','e'); $count = array('1','2','3','a'); print "\n"; for ($i = 0, $loopc = count($countall); $i < $loopc; $i++) { Print "$countall[$i]$count[$i]"; } print '
'; ?>[/php]

result show this
1122a3ba
Notice: Undefined offset: 4 in c:\program files\easyphp1-7\www\color\index.php on line 45
e
But i show these result how can write code.
show me result this how can?
11
12
13
1a
21
22
23
2a
a1
a2
a3
aa

not know how can this and write code please help

[php]<?php
$numset1 = array(‘1’, ‘2’, ‘a’, ‘b’, ‘e’);
$numset2 = array(‘1’, ‘2’, ‘3’, ‘a’);
?>

TODO supply a title * { box-sizing: border-box; } body { padding: 0; margin: 0; }
        #hor-minimalist-a
        {
            font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
            font-size: 1.2em;
            text-align: center;
            background: #fff;
            margin: 20px;
            width: auto;
            border-collapse: collapse;
        }
        #hor-minimalist-a th
        {
            font-size: 1.0em;
            font-weight: normal;
            color: #039;
            padding: 10px 8px;
            border-bottom: 2px solid #6678b1;
        }
        #hor-minimalist-a td
        {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 0.8em;
            color: #2e2e2e;
            padding: 5px 0 0;
        }
        #hor-minimalist-a tbody tr:hover td
        {
            color: #009;
        }
    </style>
</head>
<body>
    <table id="hor-minimalist-a">

        <!-- Table header -->

        <thead>
            <tr>
                <th scope="col" colspan="2" >My Table</th>
            </tr>
        </thead>

        <!-- Table body -->

        <tbody>
            <?php
            for ($i = 0; $i < count($numset1); $i++) {
                for ($j = 0; $j < count($numset2); $j++) {
                    echo "<tr>";
                    echo "<td>" . $numset1[$i] . "</td>";
                    echo "<td>" . $numset2[$j] . "</td>";
                    echo "</tr>";
                }
            }
            ?>
        </tbody>

    </table>
</body>
[/php]
Sponsor our Newsletter | Privacy Policy | Terms of Service