We help IT Professionals succeed at work.
Get Started

PHP/MYSQL database outputte as a table... need to click on and get the value in a cell.

harpboy918 asked
Last Modified: 2006-11-18
hopefully i'm explaining well in the subject, but I have a database that's outputting data into tables and I was wondering it I couldd use "<TR ONCLICK" or something to grab the data from the row(i just want to grab the ID num of the database by clicking on the table) I kknow I'm going to have to use javascript, but I 'm not certian of the code - any help guys?

you guys rock! mark
Watch Question
This problem has been solved!
Unlock 1 Answer and 29 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE