A
Anonymous
Guest
Code:
CREATE TABLE `info` (
`id` int(11) NOT NULL,
`section` text NOT NULL,
`content` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
The table below is what I have setup but having issues accessing the content based on the section needed.
I have tried...
$result['sectionname']['content']
but nothing shows.
What is the correct way to access each content using the section. without doing it one query for each one.