Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
OOP | Querying and show updated value in same file
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Evilsmoothie" data-source="post: 368143" data-attributes="member: 28136"><p>Hello. The title might be a little confusing, but Ill explain better here:</p><p></p><p>Every time a user opens a specific page, a query is ran and the updated value is showed. However, because OOP isn't procedural (if I understood this correctly), the query thats updating and pulling data is running at the same time, so the old value is showed on the page. I want to update and display the new value without having to refresh the page.</p><p></p><p>Not really sure how to go about this. Apologies for my stupidity, but Im new to OOP so trying to figure all this crap out. Would go on stackoverflow, but they are all assholes. Answer is still probably right infront of my face.</p><p></p><p>The Habbo version:</p><p>[SPOILER="Heey"]</p><p>Every time the user opens the client, I'm updating it's SSO ticket. But since the update and select is ran at the same time, the old ticket is entered into the flashvars so the emulator can't find the user because the ticket it's looking for no longer exists.</p><p>[/SPOILER]</p></blockquote><p></p>
[QUOTE="Evilsmoothie, post: 368143, member: 28136"] Hello. The title might be a little confusing, but Ill explain better here: Every time a user opens a specific page, a query is ran and the updated value is showed. However, because OOP isn't procedural (if I understood this correctly), the query thats updating and pulling data is running at the same time, so the old value is showed on the page. I want to update and display the new value without having to refresh the page. Not really sure how to go about this. Apologies for my stupidity, but Im new to OOP so trying to figure all this crap out. Would go on stackoverflow, but they are all assholes. Answer is still probably right infront of my face. The Habbo version: [SPOILER="Heey"] Every time the user opens the client, I'm updating it's SSO ticket. But since the update and select is ran at the same time, the old ticket is entered into the flashvars so the emulator can't find the user because the ticket it's looking for no longer exists. [/SPOILER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
OOP | Querying and show updated value in same file
Top