Hey guys, In need of some guidance here Looking to have a div on my page that will give the user some tips or help for that specific page. There should be a "dont show me again button" so the div will dissapear and the user wont see it again.. What is the best way to approach this? Ajax calls, cookies, session variables, storing info in mysql? Ive heard a lot of different ways but looking for the best way.. Help much appreciated.. Stuart
Hey, personaly i would just fire an ajax call when the user clicks the close button, then the appropriate PHP script saves the box closed status. Depending on how long the box should be hidden you should choose where to save the status. Only for the current session? Well store it in the $_SESSION variable. If it should be hidden forever you can choose between cookies and mysql. I would prefer mysql so you have the inforamtion on your server. Because if the user deletes his cookies or uses another computer the msg will be shown again greetings, Nyu