We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Support
Search
How do you run store proceedures in xpdo/modx?
697 Posts
jusmeig
Reply #1,
14 years, 6 months ago
As the subject suggests, can't see an easy way of calling them!?!
$sql = 'call populate_images(?, ?, ?, ?, ?)';
xPDO query does not seem to support "call"?
MODX Staff
10,725 Posts
opengeek
Reply #2,
14 years, 6 months ago
This really has nothing to do with xPDO. See examples #4 and #5 at
http://php.net/manual/en/pdo.prepared-statements.php
for how to call stored procedures with PDO.
Jason Coward
Chief Architect @ MODX
http://www.jasoncoward.com
|
http://twitter.com/drumshaman
|
https://github.com/opengeek