1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Search results customizing

Discussion in 'Web Design & Development' started by endri, Jul 18, 2006.

Thread Status:
Not open for further replies.
Advertisement
  1. endri

    endri Thread Starter

    Joined:
    Oct 8, 2004
    Messages:
    189
    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!
     
  2. TechGuy

    TechGuy Administrator

    Joined:
    Feb 12, 1999
    Messages:
    14,195
    First Name:
    Mike
    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. :)
     
  3. Genidiot

    Genidiot

    Joined:
    May 25, 2006
    Messages:
    46
    Another question ... Your form action calls for search.php, which seems to include itself??? That can't be good ...
     
  4. endri

    endri Thread Starter

    Joined:
    Oct 8, 2004
    Messages:
    189

    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?
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/484258

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice