SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Sep 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Need Help on HTML, JS and mySQL

    Hi guys this is my first post an ive only started to use HTML, PHP and mySQL so here goes.

    The problem I am having is that i want a single line table in a html form to duplicate more rows when an onClick button is pressed. it basically goes

    Staff name Wage hours worked
    I:::::::I I:::::::::::::I I:::::::::::::::::I IButtonI

    When the button is pressed i want the form table to change to

    Staff name Wage hours worked
    I:::::::I I:::::::::::::I I:::::::::::::::::I
    I:::::::I I:::::::::::::I I:::::::::::::::::I IButtonI

    and so on. I am storing staff name etc as an array so i can easily calculate totals. Is there a way to do this dynamically without having to show / hide ?

    Any help appreciated!
    0 Answers Posted ( Reply | Quote ) Unsubscribe

  2. #2
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could take a look at:

    msdn.microsoft.com/en-us/library/ms532998.aspx


Tags for this Thread

Bookmarks

Posting Permissions

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