what code to add to search.php

If I understand correctly, you want to show more results on your search results page? this is defined by the posts per page setting in the admin panel, but can be modified in the search.php template by adding this before the loop:

<?php
$myquery = "&posts_per_page=50"; // set to number of results you want per page
$myquery = $query_string.$myquery;
query_posts($myquery);
?>

error code: 523