当然这是一个付值语句,里面是一个sql语句,问题是他前面和后面的update是什么用的?奇怪。

解决方案 »

  1.   

    形如
    <<< 标记
    ....
    标记;
    的语句是将其间的内容作为一个串进行处理的,如同"..."一般。但是虽然"..."允许多行,但若其间有"则需要转义附写作\"。而<<<就不需要了。
    这里的标记可以是任意的串,标记;必须顶格,即位于行首。
      

  2.   

    PHP Manual-en:
    Another way to delimit strings is by using heredoc syntax ("<<<"). One should provide an identifier after <<<, then the string, and then the same identifier to close the quotation.