close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Get seaerch results and print to page

Thread began 7/08/2013 9:12 am by jo271221 | Last modified 7/08/2013 10:44 am by jo271221 | 795 views | 3 replies |

jo271221

Get seaerch results and print to page

We are successfully printing the search results to display on the page on certain pages of our site including this horse results page;
http://www.communityhotline.com/PrideFarms/Barrel-Racing-Horses-For-Sale.php?customerid=6246&horse_year_foaled=2012&Search=Search&theme=Cust6246 where it displays the searched year on the top of the page. I tried to simply copy the get code on the attached page and expect it to display on this page: http://www.communityhotline.com/Member/Directory-Results.php?S_fldnotes=Verified+P&Search.x=48&Search.y=7&theme=default and expect it to print Verified + P but it is not working. I have attached the code and FTP info.

Sign in to reply to this post

Jason ByrnesWebAssist

I dont follow, can you please provide more details.

Sign in to reply to this post

jo271221

Get Search Results and Print/Display on the page

On this page http://www.communityhotline.com/Hobbies-Sports-Directory/Directory-Int-Results.php we print Hobbies & Sports Directory 1 to 60 of 73 Directory Listings: | Art | Crafts | Hobbies which shows the user searched/selected Art | Craft | Hobbies from the select menu on the left.

On this page we GET the searched term and also display it on the page. http://www.communityhotline.com/PrideFarms/Barrel-Racing-Horses-For-Sale.php?customerid=6246&horse_year_foaled=2011&Search=Search&theme=Cust6246 So this link is filtering to a search term horse_year_foaled of 2011 thus we print 2011 Horses for Sale | 1 to 9 of 9 on the top of the page.

On this page I would like to print various search results as well. http://www.communityhotline.com/Member/Directory-Results.php?S_fldnotes=Verified+P&Search.x=48&Search.y=7 When the user clicks on this link I want to display Verified P Directory Listings 1 to 16 of 16 instead of just Directory Listings 1 to 16 of 16 .

Sign in to reply to this post

Jason ByrnesWebAssist

ok, that makes more sense, thanks.

in your code, you have:

<?php echo(isset($_GET['fldnotes'])?$_GET['fldnotes']:""); ?>&nbsp; Directory
Listings

the URL variable is named S_fldnotes:
S_fldnotes=Verified+P

so the code should be:
<?php echo(isset($_GET['S_fldnotes'])?$_GET['S_fldnotes']:""); ?>&nbsp; Directory
Listings

Sign in to reply to this post

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...