Results 1 to 4 of 4

Thread: $logo

  1. #1
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default $logo

    Ok im having a mind-blank here and im sure ive done something wrong.

    In the settings file the code is,
    Code:
    $logo = ('images/logos/easybb_red.PNG');


    and the code in the other file is,
    Code:
    <img src="{$logo}">


    But when i look on the output of this code the image link doesnt work as it is looking for
    Code:
    /%7B$logo%7D


    How can i fix this?

    Thanks +Rep
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  2. #2
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    Nevermind ive fixed it. Thanks anyway!
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  3. #3
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    I was going to suggest that you aren't echoing the html out.
    e.g.

    PHP Code:
    echo "<img src=\"$logo\" />"

  4. #4
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    yeah i realised lol sorry i had a mind-blank moment! Its what you get when you've been up since 4am lol
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •