The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

<cpanel Addons="listaddons()"> BUG

Discussion in 'General Discussion' started by danielaugustus, Oct 24, 2003.

  1. danielaugustus

    danielaugustus Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Well, this function doesent worl together with PHP.
    When you put it into PHP code it starts giving erros. One exemple code would be :

    <?php
    $code_block="<cpanel Addons="listaddons()">";
    ?>

    This is a very simple example... but it's just for illustration... How can I get off this problem ? Because this cPanel part isnt translatable, so I'm using PHP code to translate it.
     
  2. N9ne

    N9ne Well-Known Member

    Joined:
    Jan 7, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    England
    What actual php code are you using? That example you gave would definitely not work, you haven't escaped the quotation marks in the string.
     

Share This Page