Big problem with ajax to refresh webpage
Posted: Mon Feb 15, 2010 9:20 am
I have a little problem with my Ajax script.
I have builded a RPG Game, and i need my ajax script to update the menu.
Now i want to script php into that ajax file, zo $username & $userid will be showed in the user's menu.
But when i script php into that file, my webpage is going to reload, and isn't going to stop, untill i remove the php code.
and then the webpage run's normally again, how can i fix this?
Greetings,
gamer
I have builded a RPG Game, and i need my ajax script to update the menu.
Now i want to script php into that ajax file, zo $username & $userid will be showed in the user's menu.
But when i script php into that file, my webpage is going to reload, and isn't going to stop, untill i remove the php code.
and then the webpage run's normally again, how can i fix this?
Greetings,
gamer