Hey guys thank you for the help you have been giving me it is much appreciated! Now can someone help with some code, im developing a website using php and mysql and id like to know how do you limit the amount of data that the php script takes from the database? And another problem i have is that it repeates the data that is contained in the table! How do i stop that? Im really a novice when it comes to this!:(