Search:

Type: Posts; User: traq; Keyword(s):

Search: Search took 0.04 seconds.

  1. Thread: Conversion to PDO

    by traq
    Replies
    5
    Views
    18,552

    That's a normal SQL query. Using variables in an...

    That's a normal SQL query. Using variables in an SQL statement is completely different than using parameters. First off, variable interpolation happens entirely in PHP: (it looks like SELECT * FROM...
  2. Thread: Conversion to PDO

    by traq
    Replies
    5
    Views
    18,552

    you mean, the WHERE ? part? NO, it is not...

    you mean, the WHERE ? part? NO, it is not possible. Only values can be parameterized. (This has to do with how MySQL prepares the statement, not with PDO specifically.) If you want dynamic...
  3. Thread: Conversion to PDO

    by traq
    Replies
    5
    Views
    18,552

    You can use both, sure - though I would recommend...

    You can use both, sure - though I would recommend converting everything, just to avoid confusion. They **are not interoperable**, however: you can't use mysql_query(), for example, on a PDO...
Results 1 to 3 of 3