Hello

i have a search function, which when you search its gives you back the results and the search title but the problem is its adding the the <title> my search ... </title> in front of the
<!DOCTYPE HTML PUBLIC " ....>

and it makes the site to show bigger !!

---------------------

here is the function

$findstory = stripslashes( $story );
echo '<title>'.$findstory.' results</title>';

how to make it to echo the title after the
<!DOCTYPE .. > and not before it ?

thanks
cgworld Reviewed by cgworld on . PHP search function problem Hello i have a search function, which when you search its gives you back the results and the search title but the problem is its adding the the <title> my search ... </title> in front of the <!DOCTYPE HTML PUBLIC " ....> and it makes the site to show bigger !! --------------------- here is the function Rating: 5