PDOpecl::PDO |
[ AdvancedSearch | AreaMap ]
|
| Welcome | Installation | FAQ | User Notes | Links |
| User Notes | bindParam | DSN | exec | API differences | fetchCol | setAttribute | API |
|
Areas In PDO |
execexecute() in ADOdb and query() in PEAR::DB can be used instead of prepare() and execute(), if you set a second parameter (data array) and your query uses placeholders. In PDO exec() can only do the following:
what about something like:
of course the second parameter is optional. The syntax should fit to bindParam.
This site powered by YaWiki 0.22 beta.
Add A CommentYour comment will be added immediately; please check your comments, and be nice. :-) Please use plain text only; HTML and PHP code will be converted to entities. Your email address will be obfuscated with [AT] and [DOT] after you post your comment. |