Should I plan to parse/regex, for example, an entire url string retrieved from one field of a database table during a while loop of query results using PHP?
Or should I store segments of the data (directory, filename, extension) in their own separate fields and concatenate the results during a while loop of query results?
Assuming worst-case scenarios, what would the most effective overall approach be in terms of both speed and efficiency?
MySQL & PHP are the suspects in question