Here You can convert MySQL table to ASCII or HTML text format. Use standard INSERT query. You can export table with PHPMyAdmin, or write own query and use it here. Try!

MySQL text style

+-----------+--------------+
| user_name | user_surname |
+-----------+--------------+
| John      | Doe          |
+-----------+--------------+

ASCII art style

╔═══════════╦══════════════╗
║ user_name ║ user_surname ║
╠═══════════╬══════════════╣
║ John      ║ Doe          ║
╚═══════════╩══════════════╝

HTML table preview

user_name user_surname
John Doe

HTML table code

<table>
    <thead>
        <tr>
            <th>user_name</th>
            <th>user_surname</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>John</td>
            <td>Doe</td>
        </tr>
    </tbody>
</table>