Results 1 to 3 of 3
-
12th Nov 2010, 01:06 AM #1OPMember
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
$findstory = stripslashes( $story );
echo '<title>'.$findstory.' results</title>';
how to make it to echo the title after the
<!DOCTYPE .. > and not before it ?
thankscgworld 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
-
12th Nov 2010, 01:11 AM #2OPMember
Solved it somehow ... but would like to see more comments ...
-
12th Nov 2010, 01:14 AM #3Respected DeveloperWebsite's:
wrzc.orgIt would totally depend on your script. I've no idea if you've a template system or what.
Basically you could just move this down the page
echo '<title>'.$findstory.' results</title>';
so it appears later or you could have
<title><?=$findstory?> results</title>
or <title><?php $findstory ?> results</title> further down the page depending on your settings and remove the line further up
echo '<title>'.$findstory.' results</title>';
Ahh their's lots of ways. Would really need to see it in context.Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic
Huge list of Warez Sites and free Multiposter Templates
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Search function in HTML website?
By r00ts in forum Webmaster DiscussionReplies: 5Last Post: 8th Jan 2012, 04:54 AM -
Search function added to private messages!
By Capone in forum News and AnnouncementsReplies: 17Last Post: 8th Nov 2011, 10:14 AM -
search problem
By koullis in forum WordpressReplies: 2Last Post: 11th Sep 2011, 09:54 AM -
Urgent help needed in Vbulletin 4 search function
By intensecool in forum Webmaster ResourcesReplies: 0Last Post: 1st Mar 2011, 04:27 AM -
Problem with site search
By janu123 in forum Webmaster DiscussionReplies: 3Last Post: 22nd Dec 2010, 01:58 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...