I've been working on a code and finally got to the pint that it works but my PHP processes so much that I was wondering if there are any easier ways to fix my problem
The database I'm working with is filled with tracks from artists, and example from the table:
- composer_name = [@123:artist_display_name1] ft. [@58:artist_display_name2]
- track_title = Le Example ( [@798:artist_display_name3] Remix)
Where the number between the [ : is the artist_id (linked to artist profile) and the string between : ] is the display name for the artist (Sometimes artists use different names, that's why)
Now question is how to get the display names as fast as possible without brackets, but use the artist_id to perform another action (such as making a link out of it and put the artist_id in a database or something)
artist_idanddisplay_name?[@123:artist_display_name1] ft. [@58:artist_display_name2]become'artist_display_name1 ft. artist_display_name2'?