Php echos

Discussion in 'PHP' started by Gaara, May 6, 2006.

  1. #1
    Note: Im the biggest php noob ever!

    Right, want i want to do is transform this:

    <?php echo "$site_url"; ?>


    Into

    {site_url}

    how would i go about doing it?

    If it helps in anyway:

    $site_url = 'http://website.com';
     
    Gaara, May 6, 2006 IP
  2. Shoemoney

    Shoemoney $

    Messages:
    4,474
    Likes Received:
    588
    Best Answers:
    0
    Trophy Points:
    295
    #2
    oups it got parsed out.

    Are you looking at just echoing the _$SERVER env variable ?
     
    Shoemoney, May 6, 2006 IP
  3. Gaara

    Gaara Active Member

    Messages:
    233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I dont get it?
     
    Gaara, May 6, 2006 IP
  4. illusion

    illusion Peon

    Messages:
    427
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    illusion, May 6, 2006 IP