Jump to content

Search the Community

Showing results for tags 'implode'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. I have two sets of tags and I'm manually adding a comma after the echo which works but adds a comma to the very last tag too. {echo "<i class=\"fa fa-globe\"></i>"; foreach ($update->client_location as $geo) {echo "{$geo->title},";} {echo "<i class=\"fa fa-tags\"></i>"; foreach ($update->blog_tags as $tags) {echo "{$tags->title},";} You can see in the above screen grab that this works but adds a comma to the last word too. It's not a huge deal but I'd prefer the last word not to have a comma. I think it's called "implode" in PHP when you take an array and automagically separate each value with a comma? Would I end up with exactly the same issue by using an implode function?
×
×
  • Create New...