Simple Click Count

I am fairly new to dreamweaver and php but have been finding
my way around. I am looking to just increment a certain field by +
1 whenever the details page is opened for that record. I know there
are .txt click/page counters, but I am looking to use the hits
field to filter for a top ten entries area. I was thinking I could
do it with a hidden field and onLoad submit form. I could be way
off. If anyone can help me out it would be appreciated.

> thinking I could do it with a hidden field and onLoad
submit form
You wouldn't need to even get that sophisticated. Just
increment the hit
value in the database each time the page loads (of course
that would
increment on refresh too, but so would your scheme).
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"jh369057" <[email protected]> wrote in
message
news:ghkm98$m5r$[email protected]..
>I am fairly new to dreamweaver and php but have been
finding my way around.
>I
> am looking to just increment a certain field by + 1
whenever the details
> page
> is opened for that record. I know there are .txt
click/page counters, but
> I am
> looking to use the hits field to filter for a top ten
entries area. I was
> thinking I could do it with a hidden field and onLoad
submit form. I
> could be
> way off. If anyone can help me out it would be
appreciated.
>

Similar Messages

  • Simple click counter - how to

    Trying to create a simple ad click counter
    ie
    click ad on page.php - ad has record ID
    go to
    adprocessingpage.php with ID in URL
    put update transaction on page (maybe this is the wrong approach??)
    update record where ID matches
    when finished go to URL - also sotred in that ads record
    2 problems
    1
    can't see how to increment field value
    I can get the value in a recordset - but cant find the syntax to increment
    (recordset called rs_sel_ad)
    $upd_advert_adv->addColumn("clicks_adv", "NUMERIC_TYPE", "VALUE", "{rs_sel_ad.clicks_adv}");
    what I need is {rs_sel_ad.clicks_adv}={rs_sel_ad.clicks_adv}+1
    2
    the go to URL is taken from that record
    but the page goes to (website base url) + recordset URL
    http://testserver/http%3A%252F%252Fwww.advertiser.com
    I just need the recordset URL
    http://www.advertiser.com
    any help appreciated
    Paul

    Gerd's attached image is actually a VI snippet.  You should be able to save it locally on your desktop and then drag the image into LabVIEW (doesn't usually work dragging the image directly from a web browser unless you make use of a plugin).
    In case that doesn't work though:
    Wait Until Next ms Multiple
    The metronome icon.
    Increment PtByPt
    The icon that has the increment (+1) icon inside it.
    While Loop
    The gray box around the whole thing.
    Oh and the Green arrows on the edges of the while loop are a shift register, you can create this through the right-click menu when you right-click on the edge of the while loop.
    Best Regards,
    John Passiak

  • Bridge CC opens files on simple click

    Hi,
    The subject says it all : Bridge CC Mac (6.0.1.6) opens files on select (simple click).
    It is very inconvenient and I can't for the life of me find a place where to change this absurd behaviour or is it a bug ?
    My context : MacBook Pro late 2011, OSX 10.8.5, either on trackpad or MS Mobile Memory Mouse 8000.
    Regards,
    --   Pascal Conil-lacoste

    I understand that I'm unfortunate enough to be the one and only to suffer this single-click plague ?
    Don't know if you are the only one but at the most one of very few I'm afraid…
    Do a check and repair permissions with Apple Disk Utility and double check your mouse and track path settings in the system preferences (there is a setting that lets you double click with one single finger tick).
    And you can always combine the reset of prefs with the delete of plist file for Bridge in User library preferences (by default hidden, use menu go with option to reveal this library). Maybe you have to try a bit more often with reset prefs, sometimes 3 or 4 go's can do a miracle.

  • Can't get counter 2/3 working in simple event counting mode for NI6601

    I have been successfully been able to get counter 0 and 1 working in a simple event counting mode. But when I read Software Save register for counter2/3 it gives me garbage values. I am doing register level programming in C.
    This is the algorithm that I follow
    In initialization:
    -> Reset the Counter
    -> Write32( Clock_Config_Reg, 0x00)
    -> Write Load A and LoadB registers
    -> Write to Input Select Register with appropriate values
    -> Write16( Command_Reg, 0x0125);
    Then when I need to read the SW save register value
    -> Write to Command Register  setting the  gi_Arm bit
    -> Reading the SW save register twice
    -> If not equal ,read again
    -> Write to Command Register  disabling the  gi_Arm bit
    This works just fine for counter 0 and 1. But I can't get it working for counter 2 and 3. Are there any other registers I need to set up correctly for counter2/3. Is the default reset values of registers different for counter 2 and 3?
    Any help would be very appreciated
    Thanks

    Hello manisha,
    Is there a particular reason for using register level programming to interact with your DAQ card, rather than the DAQmx driver?  The reason I ask is because we don't support RLP at NI.  There are some manuals that have been developed, such as this one which corresponds to your card, but I am unable to offer any support after that.  If it is necessary that you must use RLP then you should post your question to the DDK forum, as they have more experience in this area.
    Regards,

  • Simple click to play flash player?

    I'm trying to create a simple click-to-play function for a
    flash movie, so I don't have to use a whole player skin. Is there a
    simple way to do this?

    Do you mean a way to control a video without a skin?
    First create a play button, move it to the stage, give it an
    instance name like vidplay.
    Give the flv playback component an instance name like vid and
    use the following AS on the frame:
    vidplay.onPress = function(){
    vid.play();
    dats it

  • Simple Number Counter

    Hi,
    I'm a newbie and looking to create a simple number counter (ie dates from 1900 to 2007 ticking over).
    It's to be used on a history peice showing the progress of a company.
    Doesn't need to be any special effects, just increasing numbers.
    Cheers!

    Welcome to the discussions. Search is your friend:
    http://discussions.apple.com/search.jspa?objID=f656&search=Go&q=counter
    Patrick

  • Is there a way to make iPhone speak what is displayed on the screen, with a simple click?

    is there a way to make iPhone speak what is displayed on the screen, with a simple click? Instead of going through the Accessibility and VoiceOver feature. This will be very useful if I am driving, or tired of reading from the screen, or watching other stuff ... thanks

    No.
    What is available via Accessibility settings is it.

  • I'm trying to use DAQmx for simple event counting using PFI8

    Hi,
    I am presently using Traditional DAQ (Legacy) drivers in my software, however I'm in the process of switching over to DAQmx drivers.  Our systems use an E Series DAQ card: PCI-MIO-16XE-10.
    I use PFI8 along with Counter 0 to do simple event counting.  The signal is connected to PFI8 and as it changes, my counter output either increase or decreases in value.  The attached vi shows how I've done it in the past using the Legacy drivers (top portion of the vi) and how I'm attempting to do it using the DAQmx drivers.  I've combined both versions on the single vi just for illustration purposes - when I do my testing they are on separate vi's.
    I'd appreciate it if anyone could help me to figure out why my DAQmx version isn't working properly.  Thank you very much!
    Steve
    Attachments:
    PFI8_DAQ_Comparison.vi ‏36 KB

    Hey Steve,
    The DAQmx driver installs several examples into LabVIEW that
    demonstrate how to implement various event counting applications.  I
    recommend you look over these and see if any of them accomplish what
    you're trying to do.  They're usually very simple to understand and
    well documented, but I'd be happy to help you out with any of them if
    you had a particular question. 
    You can find them in the Example Finder (Help >> Find Examples)
    in LabVIEW.  Drill down to the following location in the directories:
    Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events
    You'll see a number of examples, but I recommend starting with 'Count Digital Events.vi'
    Since PFI8 corresponds to CTR0 SRC, make sure you set it to use counter 0.  This should work correctly.
    Elijah Kerry
    Senior Product Manager, LabVIEW
    Follow my Software Engineering for LabVIEW Blog

  • Click counter button

    Can anyone direct me to a good tutorial on writing the
    actionscript and php for a button with a click counter.
    Or can anyone explain to me how to do it?

    use a search engine to look for that.

  • Mouse clicks count!

    Hello!
    I have a JTable. I added a mouse listener to it! The problem is that I cannot count the mouse clicks correctly!
    I have:
    mouseClicked(... e){
    e.getClickCount()
    but I only get 1 click, despite the double click I made!
    Does the table mouse listener erases the preceding event and never gets to count the second click? I got the behaviour of two single clicks!
    THANKS in advance!
    Rui Vale

    ... the the milli between the events... if they are say 40 milli or less the action is a double click...if not restart the chronometer...You can use other listener to...it depends on what you want to do!
    JRG

  • Help : Lost in Code - Trying to make a simple Click-Through

    Hey Everyone -
    I've come in search of some help and expertise. I've found a
    website which I would like to copy in functionality - in hopes of
    creating a simple slideshow of images. They are using the MOOTOOLS
    framework for the Slide animation - i've gotten that to work
    - but i can't figure out how to replicate the clickthrough-
    SO - what i'm trying to do is copy this page exactly -
    http://www.thegraphicgraphic.com/
    you'll see that it's just three lines of text ( rollovers )
    and the last line opens up a javascript slider window - now i've
    managed to copy most of it by taking the code and figuring out the
    urls for the javascript and such .
    check out my version here :
    http://www.nontype.com/beograd.html
    i've got the css and java stuff working okay - but what i
    can't seem to figure out at all is how they are getting the
    rollover links to link to the NEXT IMAGE - they're using some tags
    that i don't understand : it looks something like this : : :
    <div id="header">
    <ul>
    <li>
    <a href=""
    onmouseover="this.innerHTML = 'NEXT'"
    onmouseout="this.innerHTML = 'THE'">
    THE</a>
    </li>
    <li>
    <a href=""
    onmouseover="this.innerHTML = 'PREVIOUS'"
    onmouseout="this.innerHTML = 'GRAPHIC'">
    GRAPHIC</a>
    </li>
    <li>
    <a href="#" id="button" onmouseover="this.innerHTML =
    'INFORMATION'"
    onmouseout="this.innerHTML = 'GRAPHIC'">
    GRAPHIC</a>
    </li>
    </ul>
    </div>
    AND The JAVASCRIPT Used for both the sliders ( and I assume
    the click-through functionality ) is :
    window.addEvent('domready', function() {
    var Slider = new Fx.Slide('about',{mode: 'horizontal',
    duration: 100}).hide();
    $('button').addEvent('click', function() {
    Slider.toggle('horizontal');
    function noSpam(user,domain) {
    locationstring = "mailto:" + user + "@" + domain;
    window.location = locationstring;
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    I just want to click NEXT to progress to the next background
    image / and PREVIOUS for the prev. image . . . . . . . . Could
    anyone here tell me how to do this as in the first site ? ? ? Would
    I be able to simply create multiple HTML Pages - use an Embed tag -
    and then link the PREV and NEXT buttons with tags ?
    I'm just trying to make this work by any means but am finding
    the code impossible to crack -
    I tried asking this question in the mootools forum but was
    told to look elsewhere - I'm more than willing to use
    any other means in order to make this work .
    MANY THANKS IN ADVANCE FOR YOU HELP . . .

    Have you asked the authors?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "aerolex" <[email protected]> wrote in
    message
    news:f2naeu$q66$[email protected]..
    > Hello - would anyone have any advice - or should i
    somehow reword the
    > question ?
    >
    > or could some provide some insight as to where i might
    look to resolve
    > this question ?
    >
    > THANKS AGAIN

  • Click counting on an exe flash file

    hello.
    i have an exe flash file that i will distribute to several
    people. is there a way to count the clicks they do when they get to
    certain part of the file? certain buttons, links, etc?
    also, if i have website links, how can i count when they hit
    the link?
    is there a way to do both things.
    thanks

    To count the clicks, you would simply use a Mouse.onMouseDown
    listener. It doesn't make a difference whether it's a HTML-embedded
    Flash movie or an exe.
    I think the problem arises from the fact, that you want to
    store this information somewhere, or do you want to send it back to
    your computer?
    The other thing, the website link is counted on the server,
    not within Flash.

  • Help me make a simple "click to link" action

    I'm trying to add an action to a button, so that if clicked,
    you are transfered to a certain link. Very simple stuff, but I just
    got into flash coding and understanding the basics, so forgive my
    noobness =)
    Here is the code so far (the action script for this one
    button):
    [code]
    // Action script...
    on (rollOver)
    gotoAndPlay("menu2")
    on (rollOut)
    stopAllSound();
    [/code]
    Hope someone can help me out =)
    -Stigma

    try:

  • Click counter on a flashbanner

    Ive searched the internet so many times for this but I cant
    find what im looking for anywhere.
    Im an advertiser and right now Ive created banners that are
    placed on external websites. I want to see how many people click on
    my banners so I know if its profitable or not.
    Is there a code I can use inside my flashbanner that counts
    each click and sends the info to me?

    you'll need some server-side code on YOUR server, not the one
    that hosts the banner. you'll also need a cross-domain policy that
    allows the swf in the host domain to access the code in your
    domain.

  • Outbound click counter ?

    Is there a way to count the number of clicks on particular links??
    [email protected]

    Hi there,
    It sounds like your question is for Dreamweaver or is about your website rather than about Adobe Exchange which is what this forum is for. Please try http://forums.adobe.com/community/dreamweaver

Maybe you are looking for

  • How to synchronize audio and video rtp-streams

    Hi everyone! I've tried to make one of the processors, processor1, control the other processor, processor2, with processor1.addController(processor2) but I get a javax.media.IncompatibleTimeBaseException. I need to synchronize audio and video rtp-str

  • How to register new interface implementation?

    Hi, I have the following problem: There exists a self written webdynpro application. This application uses a Java Interface. The administrator of the application can add new functionality to the application by adding a new line to a table. He inserts

  • Stroke Width Relative to Resizing

    When I have an oject that has a stroke outline of say, 10 pt., and I resize the object, everything resizes except for the stroke width which remains at 10pt. Is there a way to fix the stroke width so that it resizes with the other attributes of the o

  • DVD Audio Problem in main video

    I have a 94 minute video clip that i am try to burn to dvd; however, when I burn the project i get a dvd that all the menu's work but the main video only has audio for the first 15 minutes and last 5 minutes. The video has been encoded to a quicktime

  • MBP won't reboot past the white screen with the grey apple. Why? How do I fix it?

    MBP won't reboot past the white screen with the grey apple. Why? How can I fix it?