Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: search feature

  1. #1
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Lightbulb search feature

    Hi, I have been working on this PHP script for a while that will allow the user to selectively search the MySQL database on their site. I am still working on it to refine it and make the searches more efficient. I am new to this coding hobby, so I am sure that there are lots of ways that the script can be rewritten to do the same thing more efficiently, but it does selectively search tables and colomns as specified by the site owner.

    I would like to submit this code, but I am not sure where to submit it or if I should submit it somewhere else. I have noticed that this type of script is hard to come by on the internet for some reason and what is available is either too narrow in its searches or too bulky of a program.

    Thanks,
    Joe

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Is there a coding question here, or are you just looking for a place to post the code? You could submit the code to hotscripts.com or any other script/program directory.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    Yeah, hotscripts.com or phpfreaks.com.
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    You know, I forgot all about phpfreaks.com. I like their site with all the tutorials and stuff. Very helpful.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    yes, I was just wondering where I could submit it. I was hoping to submit it here if I could, but if not where else I might be able to submit it. I could try looking at hotscripts, but I don't really like how they sort their files. There are so many, it is hard to sort through and many are defunct. I feel like I am submitting something to the Bermuda triangle. Well, that was a bit harsh of me. To be perfectly fair, I have found some of my best scripts there as well.

    I will try and take a sneak peek at phpfreaks. I have not been there in a while.

    Thanks for the suggestions.

  6. #6
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Well, you could probably post the code here for others to see. Or, if you have your own webspace, keep it there and post a link to it here or wherever you see fit.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  7. #7
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    cool, I'll try to work on it a bit more just to make sure it looks ok and post a link to it in a couple of days. I could post the script, but it is a bit longish. That and sadly I need to figure out how to create a downloadable file.

  8. #8
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Well, you could put it in a zip or rar file by using either Winzip or WinRAR (if you have windows.) Or you could make it a .phps (PHP source) file.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  9. #9
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    Yep, I know this is a few days later. I am a new coder and I get a kick out of what PHP and CSS and other languages can do.

    Here is the link for the search feature.

    I hope that this helps others who are looking to create a better search feature for their site. I am still trying to improve the scripts on my site to make them more efficient and along the way I find some bugs and find new tricks. I hope this script works out for you. I have tried to make it easy to use. If I put my mind to it I can make it easier to use, but it seems to get harder to make it easier to use as I go along, but it is lots of fun and worth it.

  10. #10
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Nice script, good job on it.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •