Ma tu mi sa che non sei solo alle prime armi col PHP, non ti va neanche di metterti ad impararlo.

Dopo quello che ti ho detto ci vuole tanto a scrivere quanto segue?
Codice PHP:
$tabella '<table border="1">
               <tr>
                   <th>Usernanme</th>
                   <th>Password</th>
               </tr>'

al posto di
Codice PHP:
echo '<table border="1">
         <tr>
             <th>Usernanme</th>
             <th>Password</th>
         </tr>'

poi
Codice PHP:
$tabella .= "<tr>
                <td>
$nome123</td>
                <td>
$psw123</td>
            </tr>"

ed infine
Codice PHP:
$tabella .= '</table>'