BLHTML.org

BLHTML.org / Web Programming / BLHTML / BLHTML Manual / BLHTML funktion list / BLHTML funktion list / COUNTCLICK /

 
  Registrera länk klick 1274 0
Data uppgifter in Registrera länk klick example:

Data for att gå to #COUNTCLICK#:
This forum show from account 1, page A: "index.php?ID=1&page=A"
Inlägget är index=204

Data som krävs att registrera klickobject: linkclick
Calling funktion vote: blhtml_cmd=vote
Registrera all klick from länk: vote_0900linkclick=1
  • 090 account 90 skall registrera exemplets klick
  • 0 Unlimited registrering of detta click object
  • linkclick oid=linkclick (click object) sätter field grp=1

  • Example räkna amount klick en länk utsatts for:
    BLHTML:
    #A id=1
            data(index=$index#AND#blhtml_cmd=vote#AND#vote_0900linkclick=1)
            value(#+#COUNTCLICK#+# been clicked #COUNTCLICK id=90 click=linkclick# times)
    blhtml=on
    #
    <br>

    html:
    <a href="index.php?ID=1#AND#page=A#AND#index=#$index##AND#blhtml_cmd=vote#AND#vote_0900linkclick=1">
    #+#COUNTCLICK#+# been clicked #COUNTCLICK id=90 click=linkclick# times
    </a>

    Returns:
    BLHTML:
    html:
    #COUNTCLICK# been clicked 1639 times
    #COUNTCLICK# been clicked 1639 times

    More information:
  • COUNTCLICK
  • vote
  • BLHTML forum  


    apache MySQL PHP No to software patents! BLHTML
    © 2003, 2010 BLHTML
    This page is created with BLHTML in 0.0664 seconds