Code: Select all
CREATE TABLE `info` (
`id` int(11) NOT NULL,
`section` text NOT NULL,
`content` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
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.