ach so, das meinst - das versuche ich gerade heraus zufinden.
nur leider bin ich noch nicht fündig geworden...
nur leider bin ich noch nicht fündig geworden...
$fsql = "SELECT headline FROM pages" ;
$fresult = mysql_query($fsql) ;
while($frow = mysql_fetch_assoc($fresult)) {
$f_row['headline'] = explode(' ', $f_row['headline']) ;
foreach ($f_row['headline'] as $f_row['headline']) {
$filtered = str_replace($f_row['headline'], "<b>".$f_row['headline']."</b>", htmlentities($row['content']));
}
}
CREATE TABLE `pages` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`headline` varchar(255) NOT NULL default '',
`content` longtext NOT NULL,
`type` varchar(255) NOT NULL default '',
`active` int(11) NOT NULL default '0',
`menu` int(11) NOT NULL default '0',
`child` int(11) NOT NULL default '0',
`afterparent` int(11) NOT NULL default '0',
`extension` int(11) NOT NULL default '0',
`extension_path` varchar(255) NOT NULL default '',
`hits` int(255) NOT NULL default '0',
`timestamp` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=21 ;
Kommentar