AnkitKansara Posted March 16, 2015 Share Posted March 16, 2015 Hello, I'm new to php..I am creating a meeting room application. Here the user logins into the system & selects a room.On the room page there is a table where an user can click on the specific time slot. A form appears where user needs to input the purpose of meeting & the data is saved in the db & the color of the selected <td> changes to orange. Issue is that on refresh or another user login the <td> is back to original color i.e Bgcolor. I have attached the code filekarmauser.php. Thanks Link to comment https://forums.phpfreaks.com/topic/295282-how-to-retain-data-ie-color-on-refresh-or-login-of-another-user/ Share on other sites More sharing options...
ginerjm Posted March 16, 2015 Share Posted March 16, 2015 You have to ensure that whatever code you use to 'change' the color is being used again when the page is refreshed. Maybe add something ot your code that builds the page to look for certain data attributes as it builds the html and set the color then. (Sorry - I don't look at non-posted code.) Link to comment https://forums.phpfreaks.com/topic/295282-how-to-retain-data-ie-color-on-refresh-or-login-of-another-user/#findComment-1508208 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.