There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Search results customizing


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
endri's Avatar
Senior Member with 189 posts.
 
Join Date: Oct 2004
Location: Tirana, Albania
Experience: Advanced
18-Jul-2006, 12:40 PM #1
Search results customizing
Hi all;

I need help with customizing the search results on my site.

My searcher is:

<FORM action=http://www.mysite.com/search.php method=get>
<INPUT name=s size="20"> <INPUT type=submit value=Search></FORM>


The php file is:


<?
include "header.ssi";
$s=urlencode($_GET['s']);
include "http://www.mysite.com/search.php?s=s=".$s;
include "footer.ssi";
?>


The problem is that I receive the results of searching in the left of the page. How can I determine where the search results should show?

Any help is welcomed!
__________________
No news, best news!
TechGuy's Avatar
Computer Specs
Administrator with 8,423 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
18-Jul-2006, 02:22 PM #2
Do you mean that the results of that script are just on the left side of the page when viewed? If so, it sounds like you just need to edit your header.ssi and/or footer.ssi -- maybe use some tables? Post the contents of those files, as well as a sample output from the search.php, and I bet we could get it looking nice.
Genidiot's Avatar
Computer Specs
Member with 46 posts.
 
Join Date: May 2006
Location: Ohio
Experience: Advanced
18-Jul-2006, 02:24 PM #3
Another question ... Your form action calls for search.php, which seems to include itself??? That can't be good ...
endri's Avatar
Senior Member with 189 posts.
 
Join Date: Oct 2004
Location: Tirana, Albania
Experience: Advanced
19-Jul-2006, 02:51 AM #4
Quote:
Originally Posted by TechGuy
Do you mean that the results of that script are just on the left side of the page when viewed? If so, it sounds like you just need to edit your header.ssi and/or footer.ssi -- maybe use some tables? Post the contents of those files, as well as a sample output from the search.php, and I bet we could get it looking nice.

Hi,

Thanks for your reply!

Can you give me any tips on how to post the results inside a table? And make this table flexible to ythe results number?
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:50 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.