WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Rendering or excaping backticks in this forum for examples of SQL aliasing (4 posts)

  1. Eli
    Member
    Posted 1 year ago #

    I found this closed topic in which someone actually renders a backticks but it doesn't explain how:
    http://wordpress.org/support/topic/really-dumb-question-what-is-a-backtick-for-code-in-posts-how-to-type-one?replies=23

    So I'm posting this as a test.

    "SELECT field AS `alias' FROM table"
    (The ' should also be a `)
    I cannot put two ` (backticks) on the same line in a comment here
    or it would just make alias look like alias.

  2. s_ha_dum
    Member
    Posted 1 year ago #

    Encode-- `-- it to get a`, or more ` ` ` ` but editing your post will break them, as I just discovered. In my two minutes of trying I couldn't work out how to protect them through an edit.

  3. s_ha_dum
    Member
    Posted 1 year ago #

    Argh... I'm not editing that again.

    Encode ` it ...

  4. Eli
    Member
    Posted 1 year ago #

    Thanks! (`I should have thought of that`)

Topic Closed

This topic has been closed to new replies.

About this Topic