I have question about your ideas connected to mysql queries:<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<h3 style="background-image:none;background-color:rgb(255,255,255);margin:0px 0px 0.3em;overflow:hidden;padding-top:0.5em;padding-bottom:0.17em;border-bottom-style:none;width:auto;font-size:17px;font-family:sans-serif;line-height:19.1875px">
<span class="mw-headline" id="Parameterised_queries">Parameterised queries</span></h3><p style="margin:0.4em 0px 0.5em;line-height:19.1875px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">Use this API to overcome SQL Injection attacks<span style="font-family:arial;font-size:small;line-height:normal;background-color:transparent"> </span></p>
</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p style="margin:0.4em 0px 0.5em;line-height:19.1875px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;line-height:normal;background-color:transparent"> </span><span style="background-color:rgb(249,249,249);font-family:monospace,'Courier New';line-height:1.3em">$db = PearDatabase::getInstance();</span></p>
<pre style="font-family:monospace,'Courier New';padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:13px">$rs  = $db->pquery("SELECT * FROM tablename WHERE id=?", array($id));</pre>
</blockquote><div><br></div><div>Is using pquery more secure than normal query function ? ( If it is, then I have to ask : why ? )</div><div><br></div><div>Regards, Rietz Artur </div>