Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Checkbox in PHP/MySQL rows  (Read 7148 times)

0 Members and 1 Guest are viewing this topic.

chadlong41

    Topic Starter


    Starter

    Checkbox in PHP/MySQL rows
    « on: February 03, 2009, 12:02:54 PM »
    Hi

    I have a simple Table (Table1) with 3 fields (ID, Date, Value).

    So if I query the DB for a certain date it lists the ID and value of all rows with that date. What I need to do is have a checkbox next to each table row and only the ID & Value of the rows that are checked should be posted to the next page where I will do a SUM to add the values together.

    Does anyone have any ideas on the best way to do this?

    Thanks in advance

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Checkbox in PHP/MySQL rows
    « Reply #1 on: February 03, 2009, 01:36:46 PM »
    Do you have any code so far we can work with?