Location: PHPKode > projects > SQLite PHP Admin > spa/tpl/en/query.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML %%version_%% Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link href="pla.css" rel="stylesheet" type="text/css" />
	<title>SQLite PHP Admin - Run SQL commands</title>
	<meta http-equiv="expires" content="0" />
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<base target="mainframe" />
</head>
<body class="right">
<< print_dbinfo() >>
<h3>Run SQL commands on current database</h3>
<br />
<<'%%table%%' ? top_links('%%table%%') : '' >>
<form id="query" name="query" method="post" action="">
<input type="hidden" name="object" value="%%table%%" />
<textarea id="sql" name="sql" rows="5" cols="70" onmouseover="this.select()">%%show%%</textarea>
<br />
<input type="submit" name="submit" value="Run single query" />
<input type="submit" title="Possibility to run several queries at a time" value="Resultless SQL"  onclick="this.name='exec'" />
<input type="button" value="Clear" onclick="document.query.sql.value='';" />
<input type="button" value="(Un)EXPLAIN" onclick="var q=document.query.sql.value;if(q.substr(0,7)=='EXPLAIN')q=q.substr(8,q.length-7);else q='EXPLAIN '+q;document.query.sql.value=q;" />
</form>
%%sql%%
</body>
</html>
Return current item: SQLite PHP Admin