| Display Random Text ASP Script - ASP Web Pro |
|
ASP ScriptsDISPLAY RANDOM TEXTEver wanted to display random tips or quotes on your website? Well, Look no further. Here is a random text displayer that we used on a website we built that displays a random tip every time the browser is refreshed. The first thing you need to do is create a database with
a table called tblQuickTips with these fields: Then, start adding some tips to your database. Next, create a page called randomtext.asp and copy the below code into your page:
All done. Just publish your page and database and click refresh on your browser. Each time you refresh, a random tip will be displayed.
|
|||
|
Main Menu Other Resources
Last Updated:
|
|||
|
© 1997-2008 ASP Web Pro, Inc. | Terms of Use
|