i have two fields in mysql database entry time ->type time stamp and exit time->type datetype.
entry time should be entered at fist submissin of form and exit time should be null..and when i update the table then the exit time fiels should be updated..but this is not happing..entry is ok but exit time is not being update ..any one can tell me the code to do it.
prabhatsingh
0
Newbie Poster
Recommended Answers
Jump to Postcan you show your codes?
but I think this will help
UPDATE tbl_name SET end_time='values' WHERE id='values'
All 4 Replies
jj.dcruz
0
Junior Poster
prabhatsingh
0
Newbie Poster
prabhatsingh
0
Newbie Poster
jj.dcruz
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.