PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
hi all, i've only just began learning php and im a bit stuck on this. i have a page where the user can change his name on his profile, the page should refresh and display his new name in the text box but it isnt doing it, however it is changing the name in the databse but is only showed the change next time i log in.
hmm not sure that would work, the user logs in to his profile and can see his name in a text box, he changes it and clicks "save" his new name is now shown in that text box. so i tried this:
it works, apart from the page keeps refreshing all the time instead of just once.. would be nice if there was a way to do it without the page refreshing after clicking "save" :/ or atleast so it refreshes only once.
im getting annoyed having to do this capture thing whenever i post - i cant read the letters most the time lol
Good for you, necessity is the mother of all invention.
mike667 wrote:it works, apart from the page keeps refreshing all the time instead of just once.. would be nice if there was a way to do it without the page refreshing after clicking "save" :/ or atleast so it refreshes only once.
Google AJAX
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering