I'm asking whether it is possible to assign names for strings in a for loop etc.?
For example, when I'm fetching data from database and I get an array like this:
Array
(
[1] => Array ( [1] => header [2] => Welcome )
[2] => Array ( [1] => content [2] => This is my page )
)
Is there any way I could loop through this array and fetch the text 'Welcome' to a string called $header (and text 'This is my page' to a string called $content).
Has anybody figured out something like this?