mysql - Best practice for writing sql statements in php -
Does someone point me to a resource or shows me a good way to write sql statements in php
"post-text" itemprop = "text">
- use
- feel free to format your code
Code sample:
$ stmt = $ pdo- & gt; Ready ('Select ... from ... JOIN ... JOIN ... where ... and ABC =: ABC and DEF = DEF'); $ Stmt- & gt; Execution (array ('abc' = & gt; 'ABC value', 'DEF' => 'DEF value'));
Comments
Post a Comment