close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Show search term on results page

Thread began 8/19/2011 5:10 am by nibo | Last modified 6/29/2022 5:07 am by anonymous | 1166 views | 5 replies |

nibo

Show search term on results page

Is it possible to show the term(s) or keyword(s) that has been searched for on the search results page?

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to change the extesnion of the results from .html:
bing_resultspage.html

to .php:
bing_resultspage.php


also, change the action of the form on the serch page to use the new extension:
<form id="BingSearchForm" name="BingSearchForm" method="get" action="bing_resultspage.html">

to:
<form id="BingSearchForm" name="BingSearchForm" method="get" action="bing_resultspage.php">


then you can add the following code to the results page:

php:
You Searched for: <?php echo((isset($_GET["Bing_query"]))?$_GET["Bing_query"]:""?>
Sign in to reply to this post

nibo

Thanks Jason.

All working.

Sign in to reply to this post

PaulBeta Tester

Looking to incorporate the same on my results page.

Where is the value 'Bing_query' sourced from? The search page? if so, where in the code please?

Sign in to reply to this post

Ray BorduinWebAssist

I'd have to see your search and results page to comment on how to do this. The easiest universal way would be to save the search entry into the session and then use that to display it.

Sign in to reply to this post
Did this help? Tips are appreciated...

anonymous

Extratorrent Unblock Proxy| Guinuine & 100% Working Sites

This post has been deleted.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...