Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Update syntax

    Hi

    Please excuse if repeat question.

    Is it possible using dreamweavers 'Update Recordset' server behaviour to
    access the mysql syntax, in particular SET.

    eg: UPDATE persondata SET age=age+1

    I'm trying to add or subtract a form entered value to the existing value in
    the database record.

    Using php, mysql

    Ta
    Jim

    han_u_man Guest

  2. Similar Questions and Discussions

    1. Syntax error in UPDATE statement.
      ok i have an update form that i created it is for the admin of the site to add/edit user account info for memebers to login. the form adds or edits...
    2. Syntax Error Update Statement
      Can someone tell me what's wrong with this code? I need help. Thanks! It is an update page. FIRST PAGE: LOGIN CHECK <!--- Filename: ...
    3. Syntax error in update
      I'm using the update record form wizard in Dreamweaver, and am getting this error when I try to submit changes. <cfparam name='FORM.buildnumber'...
    4. Getting a SQL Update syntax error...really shouldn't be?
      Try putting round the password column in the UPDATE statement. I think that SQL might be seeing that as a reserved word. Hope it helps... ...
    5. syntax error on update
      ugh, thanx for the help guess there's more than one way this syntax works as well rs("firstname")=blahblah i'm just learning sql so i tend to...
  3. #2

    Default Re: Update syntax

    You should use the SET from the php, if you are using phpmyadmin, there is
    an option to convert your Query to a PHP code.

    If you dont have phpmyadmin, then you can do it by putting the SQL
    statement on a function or variable and calling it on an event (clicking a
    link).

    On Thu, 3 Mar 2005 03:36:39 +0000 (UTC), han_u_man
    <webforumsuser@macromedia.com> wrote:
    > Hi
    >
    > Please excuse if repeat question.
    >
    > Is it possible using dreamweavers 'Update Recordset' server behaviour to
    > access the mysql syntax, in particular SET.
    >
    > eg: UPDATE persondata SET age=age+1
    >
    > I'm trying to add or subtract a form entered value to the existing
    > value in
    > the database record.
    >
    > Using php, mysql
    >
    > Ta
    > Jim
    >


    --
    Alexandro Colorado
    ------------------------------
    Support Engineer
    InterAKT Online
    [url]http://www.interaktonline.com[/url]
    Tel: 40(21) 312.5312
    Alexandro Colorado Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139