search($query_content, 0, $limit); } catch (Exception $e) { // in production you'd probably log or email this error to an admin // and then show a special message to the user but for this example // we're going to show the full exception die("
{$e->__toString()}");
}
}
?>