0
Welcome Guest! Login
0 items Join Now

Problem with using echo function

  • Problem with using echo function

    Posted 11 years 4 months ago
    • I use php code inside article. It always wroks, but I want to use:

      echo '<p class="error">some text</p>';

      the tag <p class="error"> is striped from the text. Only this kind of tag: <p class="..."> - PHP echo function with all other tags works OK, but this one - no !

      Can anyone know ho to fix it ?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Problem with using echo function

    Posted 11 years 4 months ago
    • if you are going to put php code in articles use Sourcerer plugin from nonumber otherwise your php code will be stripped.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.061 seconds