Hi
I've done as you said - copied and pasted.
It lists the first ten results correctly and then again on page two loses the value of the variable and lists the entire database.
Notice: Undefined index: search in C:\wamp_php5_5\www\sheffieldarchives\database_admin\admin_search_library_results.php on line 9
where line 9 is
$search_rs->setQuery("SELECT * FROM items WHERE items.itemTitle LIKE '%".$_POST['search']."%' ORDER BY items.itemTitle ASC");
(Point of clarification - I've no knowledge of php - I've added
<?php
if(isset($_GET['search'])) {
$_POST['search'] = $_GET['search'];
}
?>
immediately above the pagination code. I assume that is what you meant.
Thanks in anticipation
Andrew