Jump to content

Parameterize queries can anyone help?


intrigue

Recommended Posts

[code]  $result = db_query("SELECT id FROM ct_clients WHERE account = '?' AND password = '?';",
                      $account, $password);
[/code]

Thats an example of a parameterized query.

But i don't understand it so i can't implement it. Do they work with Insert queries or just Select? Any info is appreciated.
matt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.