damojones
04-06-2004, 09:23 PM
Hi
I am new to JavaScript, so sorry if this sounds stupid. :confused:
I am importing data from a MySQL database using PHP. The values are displayed on screen in rows, I am trying to select one of those rows and have the values from all items on that row transfered into JavaScript variables.
I am sure it should be possible, but am unsure of how to get there.
eg.
item 1. Value, Value
item 2. Value, Value
item 3. Value, Value
item 4. Value, Value
These values are generated from a select statement in MySQL.
Once one of these lines have been clicked upon. ie item 1 - 4
Then I would like to set the values from that line (all three of them) to variables for use in comparisons with other values.
Hope someone can help!
I am new to JavaScript, so sorry if this sounds stupid. :confused:
I am importing data from a MySQL database using PHP. The values are displayed on screen in rows, I am trying to select one of those rows and have the values from all items on that row transfered into JavaScript variables.
I am sure it should be possible, but am unsure of how to get there.
eg.
item 1. Value, Value
item 2. Value, Value
item 3. Value, Value
item 4. Value, Value
These values are generated from a select statement in MySQL.
Once one of these lines have been clicked upon. ie item 1 - 4
Then I would like to set the values from that line (all three of them) to variables for use in comparisons with other values.
Hope someone can help!