Jump to content

Archived

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

quadc89

MySQL tables question

Recommended Posts

Ok I want to have a field in my table which will be updated everytime someone fills in a form... What kind of row should this be? Thanks in advance ;)

Share this post


Link to post
Share on other sites

Now u havent given us a clear picture of what ua re trying to do and what is the value u are trying to store.

 

if u want to have a number incremented each time u insert a data

 

then u have to read more about auto_increment

Share this post


Link to post
Share on other sites

Ok sorry about that

I want a field in each row which can be updated each time someone submits a form. So if USER JOE submits this form with 5 hours then I want the table to be udated so I can show his total number of hours on a different page.

If I haven\'t made it clear enough then please tell me and I\'ll try re-phrase.

Share this post


Link to post
Share on other sites

×

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.