Current location: Hot Scripts Forums » Programming Languages » PHP » MSQL Search tool ?


MSQL Search tool ?

Reply
  #1 (permalink)  
Old 07-15-05, 09:35 AM
timk timk is offline
New Member
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
MSQL Search tool ?

I am new to PHP and so far have only really used scripts that other people have written. But it is a nice easy way to start learning.

Anyway, I wondered if such a tool/script already exists to do the following. On my website I want to have a search facility that would search a mysql database. I haven't designed the database but lets say for now that it consiss of one table. This table would have the following frields :

Name
Description
Web link
Display text

What I would like to do is allow the user to enter search text. This will be searched against the name field in the table above. The results would display the name, description, and display text. The display text would be a reference to web link which when clicked on would go to that site.

Is there any tool or script that might help me achieve this or would I have to write it from scratch myself ?
Reply With Quote
  #2 (permalink)  
Old 07-15-05, 10:14 AM
pamthieu pamthieu is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
The best is to start from scratch yourself and ask what to do when you need help and get some Docs online.
0) make sure php/mysql/web server work fine.
1)Design your db model.
2)think about what you want to display
3)create you html page.
4)put you php script in it.
That's all. you don't have an expert in anything to do that.

Just let us know where you want to start.

good luck.
Reply With Quote
  #3 (permalink)  
Old 07-15-05, 11:52 AM
blackcode blackcode is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
no no no, i think what he is saying is how to make a script to look for information in the table. like if there is something like "racecars" in the webpages description it would find it if someone searched for "cars" this is something that i want to know how to do also..
Reply With Quote
Reply

Bookmarks


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

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User agent question gneeko ASP 1 04-15-05 04:29 AM
SEO Expert Available nakulgoyal Job Offers & Assistance 2 08-14-04 12:38 PM
Simple search script niceguyonline Script Requests 3 03-07-04 11:09 PM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 06:55 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.