I need to grab all records from a database table where the values in the option_name column begins with the prefix 'my_'
And store the results of that query in an array consisting of option_name, option_value pairs?
The database columns I need are called "option_name" and "option_value".
I'll use this array to execute some further processing in a for loop.
I'm guessing this would require a regex in the SQL statement for the records where the option_name values match the target prefix.