Lissa Explains it All:  Web Design Forums  

Go Back   Lissa Explains it All: Web Design Forums > LEIA Archives > Web Site Help > Advanced Programming


Thread Tools Display Modes
Old 04-19-2007, 07:43 PM
leeham leeham is offline
Join Date: Jun 2005
Location: Liverpool, UK
Posts: 14
leeham is an unknown quantity at this point
a search form and results page

hello all.
So ive been looking around the net trying to find a tutorial that helps with what I want to do but cant quite find it so thought id ask here for guidance =]

in 2 parts

=== PART 1 ====

I have a database with a table called bandprofile and inside the table are:


I would like a page (search.php for example) that has a text box. whatever text the user submits is checked against the name field and if theres a match it shows up (still on search.php) with something like

(any matching names)

you searched for " "

This is what there are various scripts around the net on, but alot of them I see have a drop down box where you have to select where to search i just want it to search names automatically.

=== PART 2 ==

When the results show up, id like the name to be a hyperlink. and when you click the hyperlink your taken to a page (like profile.php)

profile.php should display the bands name, bio, photo and website.
Using the id of the band in the search results to make sure the right information is taken from the database and displayed.

does this all make sense? Ive tried to word it best I can. There are so(!) many different techniques out there for this sort of thing and ive literally been working through them all over the last few weeks and im getting quite frustrated =[

if it wouldnt be too difficult, id like for someone to offer help / guidance / code to do any / all of the above.

hope no one thinks me rude for asking but I have tried to do it myself, promise!

thanks for reading this anyways
Sponsored Links

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Search in IFrames? Ashley40990 JavaScript/DHTML 0 01-21-2007 05:07 PM
Search form question richmanmb2004 HTML Help 2 10-20-2005 04:09 AM
Form tarq General 1 07-13-2004 01:02 PM
In need of PHP Form / Javascript Assistance Jamesstone714 Advanced Programming 1 05-15-2004 05:11 PM
form results in new frame Mihm Frames 0 07-18-2003 06:55 PM

All times are GMT. The time now is 03:53 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.