Monday 15 July 2013

php - PDO Transaction inserting ? instead of value? -


Here's the snippet of code:

  $ pqry = $ dbcon- & gt; ("Include in Producer values ​​(tap, '?', '?', MD5 ('?'), MD5 ('?'))"); $ Dbcon- & gt; BeginTransaction (); $ Pqry- & gt; Execute (array ($ qryfields ['email'], $ qryfields ['pw'], $ qryfields ['pw'], $ qryfields ['pw'] time ()).); $ LastID = $ dbcon- & gt; Last InsertID (); $ Dbcon- & gt; Committed ();   

Which row contains:

 ? | ? | The value of the price? | <+> 

No comments:

Post a Comment