|
-
Freeing variables
How do I force KoolMoves to free and reassign a variable? For example. I have a guestbook. A user posts a new entry (which is sent to MySQL as a record). When the user goes back to the guest book, I want them to see their entry. I have verified that the entry goes into MySQL, and here is what I do to try to get a new guestbook list:
guestbooktext = ""; // trying to clear this dynamic text variable
this.loadVariables("getentries.php","POST"); // creates the guestbooktext.txt file (this works)
loadVariables("guestbooktext.txt", "_root"); // attempt to reload the guestbooktext variable.
However, it does not work instantly...it takes a few minutes for the new file to be created...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|