memory arenas (sort of)
This commit is contained in:
+5
-1
@@ -21,7 +21,6 @@ RENDER()
|
||||
MySQL con;
|
||||
if(con.connect("localhost", "root", ""))
|
||||
{
|
||||
print("connection established\n");
|
||||
print("error: "+con.error()+"\n");
|
||||
print("quotation test: "+con.escape("‘\"' or 1=1;–.")+"\n");
|
||||
print("query parse: "+con.parse_query_parameters(query, params)+"\n");
|
||||
@@ -38,8 +37,13 @@ RENDER()
|
||||
|
||||
}
|
||||
|
||||
|
||||
?></pre>
|
||||
|
||||
<div><?
|
||||
print("connection status: ", con.statement_info, "\n");
|
||||
?></div>
|
||||
|
||||
<label>CGI Params</label>
|
||||
<pre><?= var_dump(context->params) ?></pre>
|
||||
</html></>
|
||||
|
||||
Reference in New Issue
Block a user