Jump to content

m33tmn

Members
  • Posts

    6
  • Joined

  • Last visited

m33tmn's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. i had the choice between the .net forum and the asp forum, i chose asp...
  2. use 2 cols: Hits and x, hits has auto-incresementeverytime someone sees the page, it will add something to the table. and then you just use the query Select count(x) fraom yourtableand it will give the number. OR if you need more than one counter (meaning 2 different articles) you can put different numbers into x. so for example article 1 will add 1 to the table, and article 2 will add 2 to the table. then you can count them the same way, just add "WHERE x = 1" or "WHERE x = 2"
  3. detailed information also available, if needed...thanks, marc
  4. and it still gives me errors..... <%Function RandomNumber(intLowestNumber,intHighestNumber) Do Until (RandomNumber >= intLowestNumber) And (RandomNumber <= intHighestNumber) Randomize RandomNumber = Int(Rnd * intHighestNumber) + 1LoopEnd Function%><DIV STYLE="position:absolute; LEFT: <% =RandomNumber(5,600) %>px; TOP: <% =RandomNumber(5,600) %>pt">Hello</div> doesn't work.... server error in '/' application.... blahblah i'm sure you know it :)thanks, marc
  5. lol and how can i possibly add those variables (i think LeftRndNumber and TopndNumber are) to the values? hehe i truely ###### at asp i haven't really started.. basicly because asp.net is a sloww website...
  6. Hi all, i was hoping someone here could help me, i'm very unexperienced with ASP but i need to change something in a .aspx file. i want an object to be displayed at a random position. generating random numbers got me completely stuck. i currently have: <DIV STYLE="position:absolute; LEFT: 145px; TOP: 25pt"> i would like to change 145 and 25 to 2 random (different) numbers between 5 and 600. could anyone help me with that? if you know asp it can't be hard thanks, marc
×
×
  • Create New...