Jump to content

rmt123

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by rmt123

  1. Hi
    i hope someone can help me, i am still very new to coding

    [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]strOutput += "<TD CLASS=\"entry\<input type=hidden name=Date value="???????????"></TD>";[!--colorc--][/span][!--/colorc--]

    is the above code correct so far and what do i have to replace ????????????????? with so that it will save todays date (and time if possible) into my database

    anyone who can help me please greatly appreciated

    regards
    scottt
  2. Hi
    i hope someone can assist please, i am new to coding etc and i am having problems with one line of code

    [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]strOutput += "<TD CLASS=\"entry\"><INPUT TYPE=TEXT NAME=Minutes VALUE="+ fields[1] +">";[!--colorc--][/span][!--/colorc--]

    the above code does give me the correct answer in a text field which the user can edit

    [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]strOutput += "<TD CLASS=\"entry\">"+ fields[1] + "</TD>";[!--colorc--][/span][!--/colorc--]

    gives the correct answer without a text field

    my problem is i am appending/saving this data to a database file and need to specify the name of the field "Minutes" so it is saved correctly

    the first example does save the data as i would like but is editable by the user (not what i had hoped) and the second example, although does give the desired output on screen and does not allow the user to edit, does not save this data to the database

    is anyone out there able to give me help on how i can achieve my desired results

    thanks in advance
    Scott
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.