Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Ending last value of Custom Field with a dot?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42650
    yodanski
    Member

    Hi all,

    I’m struggling with Custom Fields a bit.

    I’m displaying certain ‘Facilities’ via this command:

    ID, ‘Facilities’, false); ?>

    I’d like to end each last value with a dot (“.”)

    How would I do this, anyone?

    Cheerios

    #124095
    yodanski
    Member

    I got a little closer thanks to php.net :)

    The last value of the “Facilities” Custom Field now gets dotted. I also sort all values alphabetically. I wonder what you guys think of the syntax – I’m lousy at PHP, and tag too much I think?

    Here’s my code:

    ID, ‘Facilities’, false); ?>



    Cheers.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.