線上書籍

Home

[1071]XOOPS模組開發

<h1>匯入Excel</h1> <form action="import.php" method="post" class="form-inline" enctype="multipart/form-data" style="margin-top:60px;"> <div class="form-group"> <label for="userfile">請選擇 xls 檔</label> <input type="file" name="userfile" class="form-control" id="userfile" placeholder="請選擇 xls 檔"> <input type="hidden" name="op" value="import_excel"> </div> <button type="submit" class="btn btn-default">匯入</button> </form>