searpl
setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING );
$stmt = $db->prepare($sql);
$stmt->execute($params);
$results = false;
while ($row = $stmt->fetch()) {
$results = true;
?>
...'.htmlspecialchars($param).'';
echo htmlspecialchars(substr($content,$pos+strlen($param),50)).'...';
}
}
?>
No results.
';
}
?>