whatz wrong in thiz c0de

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    whatz wrong in thiz c0de

    Helo c0derz plz watz wr0ng with diz variable
    PHP Code:
    $text="tezting";
    $ok="[color=pink]$text[/color]"
    itz seemz n0t to b w0rking. C0rrecti0n...

    #2
    Every Thing Is f9 Jst Use Print/echo function To Output The Result.

    Comment


      #3
      PHP Code:
      $text="tezting"
      $ok="[color=pink]\$text[/color]"
      Php compiler thinks that $text is an array. Escape $text with \
      Last edited by i0nutzxp; 10.01.12, 10:28.
      <?php unlink('World/Europe/Romania.country'); ?>

      Comment


        #4
        Originally posted by i0nutzxp View Post
        PHP Code:
        $text="tezting"
        $ok="[color=pink]\$text[/color]"
        Php thinks that $text is an array. Escape $text with \
        Seems like php is your childhood friend! :D
        I need some facebook likes, can you please help me
        http://facebook.com/softwarefreakin
        I noticed social media is really powerful
        Well DONE is better than well SAID

        Comment


          #5
          PHP Code:
          <?php
          $text
          ="tezting"
          $ok="[color=pink]".$text."[/color]"
          echo 
          $ok;
          ?>

          Comment


            #6
            maybe he want to appear the color of the text as pink, it will not work because [color] is just a bbcode, use <font color='blablabla'>$text</font> instead

            http://wapx.amob.com
            Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!

            Comment


              #7
              Guys tanx al0t itz nw working. ionutvmi y0urz w0rkz perfectly.

              Comment

              Working...
              X