• Hey guys,

    I’m using exec php, which works great, however when switching from visual to html, and back, it ruins the code.

    I am also using raw html… doesn’t work for php.

    Original:
    [raw]<?php if ( is_user_logged_in() ) { echo ‘test’; } else { echo ‘test’ ?>[\raw]

    After switching:
    [raw]<!–?php if ( is_user_logged_in() ) { echo ‘test’; } else { echo ‘test’ ?>[/raw]

    It is essentially commenting out the php. 🙁 Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP’ is closed to new replies.