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
Archive
Documentation Suggestions & Corrections
Search
; is missing in Example code
239 Posts
Mitch
Reply #1,
19 years, 4 months ago
On the page
http://modxcms.com/dbapi-update.html
there is a ; missing in Example 1 after the fields array. It should be this (note the ; at the end):
$fields = array(
"pagetitle" => "New Title",
"alias" => "new-alias",
"menuindex" => 2,
"published" => 1
)
;
3,975 Posts
Zaigham (aka zi)
Reply #2,
19 years, 4 months ago
Thanks for pointing out, it’ll be fixed soon
regards,
zi
Zaigham R -
MODX Professional
|
Skype
|
Email
|
Twitter
Digging the interwebs for #MODX gems and bringing it to you.
modx.link