Refreshing <div> content
For the last year and a half, I have been developing an online text and image-based game in PHP, SQL, HTML, CSS, Java, etc. I need help creating a script that will reload one string (from an SQL database) every five seconds or so without reloading the rest of the page. I have been looking for help all over the internet and since none of the threads posted that I have found on the subject correspond to my specifications, I am posting a thread myself. So far I have collected that I can use Ajax to reload <div> content. I need to refresh part of the PHP page (an SQL database value), which can be contained between <div> tags, automatically every five seconds without reloading the rest of the page. Can I get some help?