1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Paramètre qui indique la "page" cliquée

Discussion in 'C#' started by micanti, May 15, 2006.

  1. #1
    Hi,
    I just began to delevop a forum, and met a problem, i can't send the parameter which sends the number of the link the user clicked to my procedure. The called procedure is used to show 7 records for the page number given as parameter.
    This is my code :

    sub getPageLinks()

    dim NbMsg, counter, NbPages

    NbMsg = getMessageCount("Nbr")

    If (NbMsg Mod 7) > 0 Then

    NbPages = CInt(NbMsg / 7) + 1

    End If
    SEMrush
    response.write("<div id='pagelinks'>")

    for counter=1 to NbPages

    %>

    <a href=# onclick=<%call getRecords(counter)%>><%=counter%></a> '!!!!! Problem

    <%

    next

    response.write("</div>")
    end sub

    There is a problem on the 'onclick', this doesn't accept the variable 'counter'. How can i solve this ?!

    Thank you !!!
     
    micanti, May 15, 2006 IP
    SEMrush
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,220
    Likes Received:
    778
    Best Answers:
    0
    Trophy Points:
    0
    #2
    We're an internationally orientated board but English posts do tend to get more replies...

    Add to that, us mods can't read what you wrote so we don't know whether it's spam or not.
     
    T0PS3O, May 15, 2006 IP
  3. micanti

    micanti Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    :) Sorry for this, i just post the same msg on a french forum and didn't pay attention. I posted it again in english :)
    Sorry
     
    micanti, May 15, 2006 IP