•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,745 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1963 | Replies: 0
![]() |
•
•
Join Date: Oct 2007
Posts: 37
Reputation:
Rep Power: 2
Solved Threads: 0
I have a .php page that writes data to a MySQL db when the user hits "submit". Anyway...to make sure the data on the .php is the latest in the db I would like to use an auto refresh javascript. I have a free one that works great but I would like the the script to "submit" the data to the db right before the refresh that way if someone is in the middle of typing they don't lose their data. Is this possible? We don't have a lot of users and the auto refresh will only be run every 3-5 min. I understand that there is always the possibility of data loss with multiple users reading/writing from/to the db.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
access ajax asp auto breach broadband code combo crime daniweb data data protection data transfer database developer development drive dropdownlist firefox forensics government hard hardware hitachi home html insurance internet javascript linux microsoft module msdn net news office reuse security site software sql storage terabyte vista web web sites wikipedia
- Submitting data in an array (PHP)
- Auto Refresh ! possible ? (Windows NT / 2000 / XP / 2003)
- How to adding new data to database (Visual Basic 4 / 5 / 6)
- Coding a PvP Arena - Help (PHP)
- How to Auto refresh a part of a page (JSP)
- Can a text link pass php variables? (PHP)
- refresh page one time only.. (PHP)
- Network Folder Refresh Problem (Windows NT / 2000 / XP / 2003)
- Problems in Dynaform (Form Mail) URGENT HELP (PHP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Button Link
- Next Thread: Validating a Check Box


Linear Mode