Error in Manual

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan Ashbrook
    Senior Member
    • May 2003
    • 1967

    Error in Manual



    $db->query_read("SELECT COUNT(*) AS records, SUM(field_one) AS total FROM " . TABLE_PREFIX . "table");If a query string is long and would be better written on more than one line, separate it onto separate lines, putting the clause keyword at the start of the line in the following manner: double-quote, newline, indent, [query string], newline, outdent, double-quote.
    Shouldn't $db->query_read("SELECT COUNT(*) AS records, SUM(field_one) AS total FROM " . TABLE_PREFIX . "table"); be wrapped in a code block?
    Ryan Ashbrook - My Blog - My Twitter
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73427
    • 6.0.X

    #2
    Fixed
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎