iammat Posted March 2, 2013 Share Posted March 2, 2013 Hi firstly thanks for taking the time to look at this. In my application a user is able to create a chatroom and add friends to the chat room ( already complete) However I want the user to be greeted with a alert box saying "User X has invited you to chatroom Y" with the options "Accept", "Decline". If the user accepts then I want a new page to open which displays the chatroom they were invited to. My chatrooms are represented with roomids in a mysql database. Could anyone give me any hints on how I might do this ? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/275127-directing-a-user-to-a-certain-page/ Share on other sites More sharing options...
AyKay47 Posted March 2, 2013 Share Posted March 2, 2013 You will need an async listener for an invite action (probably via AJAX). We will need to see the logic in your code to give you any specific help. Quote Link to comment https://forums.phpfreaks.com/topic/275127-directing-a-user-to-a-certain-page/#findComment-1416035 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.