html_currency_code error in phpLD

Discussion in 'PHP' started by Bulldog-Designs, Jan 22, 2007.

  1. #1
    On the submit page I get an error that says HTML_CURRENCY_CODE(whatever the price is, ie $1.00) next to the 'featured link' option. Can someone help?
     
    Bulldog-Designs, Jan 22, 2007 IP
  2. jgarrison

    jgarrison Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to post the code or at the part that prints the price for a featured link or it will be difficult to help you.

    Just guessing since you didn't include any code but maybe where the price is displayed on the page you have HTML_CURRENCY_CODE1 instead of <?=HTML_CURRENCY_CODE1; ?>
     
    jgarrison, Jan 22, 2007 IP
  3. sukantab

    sukantab Well-Known Member

    Messages:
    2,075
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Please post exact error message including the code ...
     
    sukantab, Jan 22, 2007 IP
  4. Bulldog-Designs

    Bulldog-Designs Active Member

    Messages:
    912
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    60
  5. kojakfilth

    kojakfilth Notable Member

    Messages:
    3,000
    Likes Received:
    213
    Best Answers:
    0
    Trophy Points:
    210
    #5
    im having the same error also.. :(
     
    kojakfilth, Feb 26, 2007 IP
  6. seobeglobal

    seobeglobal Banned

    Messages:
    182
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    seobeglobal, Mar 20, 2007 IP
  7. rmsiu

    rmsiu Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    {if $price.featured}
    <tr><td><input type="radio" name="LINK_TYPE" value="featured" {if $LINK_TYPE eq 'featured'}checked="true"{/if}>{l}Featured links{/l}</td><td>{$smarty.const.HTML_CURRENCY_CODE}{$price.featured}</td></tr>
    {/if}

    i think this is the code
    I have the same problem
    The template is the problem because the default template works well
     
    rmsiu, Jun 13, 2007 IP