Any Smart People Here?
Hi There!
I want to add an "item of the hour" to my marketplace website. I want it to select an item at random from one of my member stores. Does anyone here have or know a code for adding this? My software is ASP.
Thanks in advance to the one that can help me!!
web4me posted this at 17:52 — 28th May 2009.
They have: 3 posts
Joined: May 2009
Anyone?
kazimmerman posted this at 18:19 — 28th May 2009.
He has: 698 posts
Joined: Jul 2005
First of all, welcome to TWF! I hope you're able to get/give help here whenever you need it or have it to offer.
Second of all, I would allow more than 37 minutes for a response. While sometimes you may get lucky if someone is online at the time of your post, often it can take a few hours or even a day before someone with a solution is able to respond.
With that said, I don't know ASP but even for those that do, they're going to need a bit more information about how your website is structured, what system you are using, etc.
Kurtis
NickD posted this at 20:37 — 28th May 2009.
They have: 56 posts
Joined: May 2009
I cant help you with the coding but if you dont find a response on here
there is company called ph jabbers that do custom scripts at low cost, I have always been pleased with the scripts I have bought from them.
Best of luck.
web4me posted this at 21:02 — 28th May 2009.
They have: 3 posts
Joined: May 2009
Thanks for letting me know...I'll wait for a reply.
My system is using
# Windows Server 2000/2003 (x86) or 2008 (x86/x64),
# MS SQL Server 2005/2008
# classic ASP 3.0 support
# the ability to register COM DLLs
pulseraiser posted this at 01:07 — 30th May 2009.
They have: 10 posts
Joined: May 2009
Well what you need is to generate set of random numbers. Based on these numbers you have to assign each market place. Again another random number is requiured within the range of items that are offered by the selected market place. Then the same way the item can be fetched.
I know ASP.NET in which there is a Random class which does the trick but i am sure there must be a way to generate that using some algo. I am sorry that i couldnt help you with the code but the more or less idea i have provided work upon it.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.