Jump to content

Recommended Posts

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 

 

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.)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.