Seelmeister could you explain further, i dont understand much with code, and can not get the above script to work, where do you put this script in the .html file of the homepage, do i need to point it the database and give the database username and pass ?