Database_query.html 958 B

1234567891011121314151617181920212223
  1. <div id="infobox" >
  2. 1.请输入SQL语句,可同时执行多条语句,每行一条<br />
  3. 2.SQL执行后影响到的结果不可恢复,请谨慎使用此功能<br />
  4. 3.若数有重要数据,请在执行SQL语句前备份数据库,以免数据丢失<br></div>
  5. <form id="myform" method="post" action="{:U("Database/doquery")}">
  6. <table cellspacing="0" cellpadding="0" id="maintable" class="formtable">
  7. <tbody>
  8. <tr>
  9. <th style="width:7em;">SQL语句</th>
  10. <td><textarea name="sql" id="sql" style="width:500px; height:200px;margin:8px;">SELECT * FROM aina_config LIMIT 0,10;</textarea></td></tr>
  11. <tr>
  12. <th colspan="2"></th>
  13. </tr>
  14. </tbody>
  15. </table>
  16. <div class="btn">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  17. <input type="submit" name="submit" value="执行" class="button">
  18. <input type="reset" name="button" id="button" value="重填" class="button"/>
  19. </div>
  20. </form>