Jump to content

adding information from the mysql databse


topflight

Recommended Posts

I have table called hours. Every time a member insert the hours they insert it like 0.5=50mins 1.0=1 hour and etc... Well I want to show all the members hours on their profile page. their is a row called time and login. I was wondering is their anyway to have it set up so that the database will add and give me a result of all the hours added from a certain member. For Instance say like member 5555 1 day has 0.2 another day has 1.0 and 9.5  Is their a way I can add all those times together just from that member only? because also in the hours table I have id so once they submit their hours the ID gets inserted to. What code or how will I do this?

 

 

Thanks in Advanced.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.