简体   繁体   中英

not used mysql comment ( <- not statement)

I want to know MySQL comment like # , -- but # and - cannot be used inside a comment.

I want to use this comment when I am going from PHP to MySQL.

special php option:

magic_quotes_gpc = off

MySQL supports three types of comments: -- , # and /*...*/ .

http://dev.mysql.com/doc/refman/5.7/en/comments.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM