473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

return search results on same page

PI
Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.

Regards,
Ire

Jul 19 '07 #1
4 2732

"PI" <ir**********@gmail.comwrote in message
news:11**********************@g12g2000prg.googlegr oups.com...
Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.
The target of the form is the same page. You check the page to see if data
was submitted to it and display the results when necessary.

In other words, you reuse the same page.

Anything more than that involves client side scripting.
Jul 19 '07 #2

"PI" <ir**********@gmail.comwrote in message
news:11**********************@g12g2000prg.googlegr oups.com...
Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.

Regards,
Ire
Does this make sense:
"The search page is a results page with 0 results (or: no query).
The results page is the same page, only with more than 0 results."

Richard.

Jul 20 '07 #3
Richard wrote:
"PI" <ir**********@gmail.comwrote in message
news:11**********************@g12g2000prg.googlegr oups.com...
>>Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.

Regards,
Ire


Does this make sense:
"The search page is a results page with 0 results (or: no query).
The results page is the same page, only with more than 0 results."
Yeah, it does. It means that when the user first hits the page, it
performs an empty search.

Not the best architecture in the world, but if it works it works.
Jul 20 '07 #4

"Sanders Kaufman" <bu***@kaufman.netwrote in message
news:jS*******************@newssvr21.news.prodigy. net...
Richard wrote:
>"PI" <ir**********@gmail.comwrote in message
news:11**********************@g12g2000prg.googleg roups.com...
>>>Hi guys,
I'm struggling with this much longer than I think I need to, I guess
you could help me here:
How do I make the results of a search display on the same page as the
search, sort of beneath the 'submit' button? Thanks for helping out.

Regards,
Ire


Does this make sense:
"The search page is a results page with 0 results (or: no query).
The results page is the same page, only with more than 0 results."

Yeah, it does. It means that when the user first hits the page, it
performs an empty search.

Not the best architecture in the world, but if it works it works.
It performs "no query" the first time the page loads.

It was sort of a hint that the results and the search are in the same file,
not that it searches every time the page loads...

Richard
Jul 21 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Les Juby | last post by:
A year or two back I needed a search script to scan thru HTML files on a client site. Usual sorta thing. A quick search turned up a neat script that provided great search results. It was fast,...
2
by: CharitiesOnline | last post by:
Hello, I have set this script up to add paging to a search results page. Which on the first page works fine. I calculates how many pages there should be depending on the number of results returned...
5
by: George | last post by:
Hi, Anyone has the background for explaining? I have made a search on my name and I have got a link to another search engine. The link's title was the search phrase for the other search engine...
83
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd...
4
by: Dica | last post by:
i apologize for what is no doubt a very rudimentary question, but i'm still trying to wrap my brain around .net coding habits. in classic asp, if i wanted to show search results, i'd just post the...
1
by: SC | last post by:
I'm developing a site that may eventually have a very large database of users (hopefully, but who knows). It will be a community website where users can search each other (think Friendster,...
2
by: Arsalan Ahmad | last post by:
Hi, May be I am a newbie, or may be i dont have that much insight in following systems ..i.e. why i have some confusions as below: In many websites, when search is performed on some keywords...
1
Merlin1857
by: Merlin1857 | last post by:
How to search multiple fields using ASP A major issue for me when I first started writing in VB Script was constructing the ability to search a table using multiple field input from a form and...
0
by: passion | last post by:
"Specialized Search Engines" along with Google Search Capability (2 in 1): http://specialized-search-engines.blogspot.com/ Billions of websites are available on the web and plenty of extremely...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.