Ok, first off i feel realy ackward asking for help with any problem because every problem i had up to now was pretty stupid in hindsight.
I have my own little corner on internet for study reasons and i use it to just play around and teach myself some PHP.
My current project is to create a php based game.
Now for the relevant info,
The problem is not with any code but rather the way it is executed,
What i want is for users to log in and then they will see their data (all on 1 page)
the problem is that when i log in, only the user name is added/refreshed
To show all the other data i have to reload the page manualy.
(hence why it feels like lag)
i have removed my login script from the header so that it is purely run in one php code.
i tryed to use the "refresh();" code.
i dont want to use Meta,
and autorefreshing every 5 seconds would be iritating.
my best guess is that Sessions are the only things reloaded (the username is stored in a session, the other data is in a MySQL database)
i just reached a point where im getting pissed at my own slow rate (took me 3 weeks to get my sessions running in the first place :glare: )
thanks in advanced
Edit:
Failed to mention that when the log out button is pressed it logs out..but does not show it either, only when refreshed will it show.
Add:
Ok i will try to add a simple and direct explanation,
you enter my site index.php
you login, the script returns to index.php using POST
login is successfull page "apears" to refresh with user data.
instead only the username which is stored in a session is added to the page.
to see all other user data stored in MySQL database i have to refresh the page (again) manualy.
i wish this to happen the moment i log in (the first time the page apears to refresh)
this is as simpel and direct as i can do it.
if this still isnt enough see for yourself
Site
Login: Tester
Password: test
(figured showing a code or a website is all the same anyway to programmers)