Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Asp Rating application...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Asp Rating application...

 Post Reply Post Reply
Author
bims View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2004
Location: United Kingdom
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote bims Quote  Post ReplyReply Direct Link To This Post Topic: Asp Rating application...
    Posted: 30 October 2007 at 9:43pm
hi,

I run a travel web site and would like to have an asp application/script which lists a selection of restaurants and hotels with a rating functionality. Can anyone suggest anything that could work? Been looking around but nothing quite seems to meet my requirements.

TIA!

Back to Top
shakir View Drop Down
Groupie
Groupie


Joined: 08 November 2007
Location: Saudi Arabia
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote shakir Quote  Post ReplyReply Direct Link To This Post Posted: 05 December 2007 at 4:21pm
you have to write asp script for it. no application the script is very symple just try
Back to Top
jamie.townsend View Drop Down
Groupie
Groupie


Joined: 07 December 2007
Location: England
Status: Offline
Points: 114
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamie.townsend Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2007 at 11:45am
Pretty simple to do.
Heres an example (without teh code :D )
 
Have 5 stars that are shown for each record in the recordset (every restaurant has its own 5 stars)
 
Of course you would give each restaurant an id, then all you need to do is create a anchor for each star, something like this:
 
<a href="addrating.asp?id=1&star=5"><img src="5star.gif"></a>
 
You would have 5 references of the above code, one for each star. Of course each star would have a different star rating.... 1,2,3,4 and 5 and the id will be the id of the restaurant, taken from the recordset.
 
Then all you need to do is create the file "addrating.asp"
In this file you use request.querystring to grap the restaurant id and the star given and then do with that information what you will, i.e add the rating to the database or xml file as an example.
 
Hope I have given you enough to go on, if you try and create the above and get stuck, get back to me and i will try and advise you furher.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.