some records in the database have spaces in their names like for example:

name1 = Kirk Douglas

When is try to get results out of the database i notice that i have problems(Kirk Douglas) with the spaces.When i insert the name like Kirk-Douglas it is recognized, but i do not want that. How can I solve this problem?

There's got to be something else wrong, because your query should work, even with the space. How are you putting the data into the database, and where are you getting the data from to put it in there? use mysql_error() to see exactly what kind of error you are getting...

The problem is only in netscape. In both IE and Netscape I get the first five results. IE gives me then the next results, but netscape says "cannot find records on Kirk". The fieldname: name1. Entry is Kirk Douglas".

Ok when i put for example Kirk-Douglas in the field, netscape gives me the results
When i get the first results and i go over the next button statusbar:search.php?name1=Kirk Douglas&offset=5, so this should be ok

Just an aside really - but how do you put the info in the db? directly / via phpMyAdmin - or you own form ? - if you use your own form remember to enclose the value="kirk douglas" or value="<? $var?>" in quotes "!"- otherwise only the part of the string before the space gets posted.