Jump to content


Photo

MySQL tables question


  • Please log in to reply
2 replies to this topic

#1 quadc89

quadc89
  • New Members
  • Pip
  • Newbie
  • 3 posts
  • LocationSingapore

Posted 07 May 2003 - 02:14 PM

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 ;)

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 07 May 2003 - 03:11 PM

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
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks

#3 quadc89

quadc89
  • New Members
  • Pip
  • Newbie
  • 3 posts
  • LocationSingapore

Posted 08 May 2003 - 08:36 AM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users