On my main page I have a calender (html table loop) that displays and has dropdowns for both month and year and a submit button.
The table will match the correct month and year. However, below the table I have another form to insert some stuff into the calender, such as names, times, and equipment.
My problem is after I submit the stuff into the form form below the calender, the calender does not reflect the changes until I either
A) submit another Item;
or
B) click the calender update button from up top next to the calender;
Its like the webpage reads from the database before the entry is submitted.
Any ideas?
Calender application not updating "directly" after
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
As long as the mysql changes are on the same page or are included somewhere on the page. From what I can tell it sounds as if you arelcky13 wrote:Another thing Id like to mention is that my form action is $PHP_SELF. IE submitting to itself.
Could this be causing the page to miss the changes to the mysql ?
1) Information entered and submitted form
2) Pulling the information from the database
3) THEN updating the database
2-3 should be switched if thats the case.. other than that I cannot help furthur unless you give us more information
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: