SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Oct 2004
    Location
    uk
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Weird Smart Error

    Hi guys

    Im having a wird issue with smarty



    PHP Code:
    {foreach from=$theextras item=extraitem }

    <
    input type=radio> {$extraitem.Name}<br />

    {/foreach} 

    It should echo out

    12 Pro V1

    instead it displays

    A
    I have no idea why this A appears


    Thanks in advance

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,500
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by wazo View Post
    It should echo out

    12 Pro V1
    Why?

  3. #3
    SitePoint Guru
    Join Date
    Oct 2004
    Location
    uk
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As that it is the only row in the database.

    there is no where that contains the phrase "A"


Bookmarks

Posting Permissions

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