I need help to get the name, index or position of the key section in a session CodeIgniter, so, I must return all the words that have in the beginning the substring “flt_agr_” to update in batch just this keys with out any change in others keys.
{“__ci_last_regenerate”:1714166415,
“logged”:true,
“user_id”:”1″,
“email”:”[email protected]”,
“flt_agr_crops”:1,
“flt_agr_environments”:A,
“flt_agr_soils”:32,
“flt_agr_soils_keywords”:’texture’,
“flt_agr_soils_textures”:null,
“flt_agr_stages”:3,
“flt_agr_varieties”:35
}
Is it possible ?
After that, I want to compare the result “fit_agr_” with the complete key name in other function to apply changing.
Marcelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.