Web Analytics Made Easy -
StatCounter how to call a onclick function that having SQL statement in a image? - CodingForum

Announcement

Collapse
No announcement yet.

how to call a onclick function that having SQL statement in a image?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to call a onclick function that having SQL statement in a image?

    Hi,

    If I'm having an image and when I onclick on the image, the onclick function should call a function which will do the UPDATE SQL statement .

    Ex:

    <img......onclick="update()">

    function update()
    {
    update mmpo(table name) set user(field name) = 0;

    }

    how can I do using javascrip?

  • #2
    when are you able to use javascript to process mysql?

    last time i checked you can't. You need server side (ie: php, asp, perl,).

    Comment


    • #3
      can ASP do it?

      so, do u know how to use ASP to do so?

      Comment


      • #4
        hmmmm.... i can't find anything on ASP and mysql, just ASP and access. can you use php?
        Last edited by Phip; Jun 28, 2002, 04:32 AM.

        Comment


        • #5
          reply to phil

          sorry , I have to use ASP

          Comment

          Working...
          X