mickeyunderscore wrote:The easiest way I can think of to do this would be to utilize a MySQL database. Create a table called 'pages' with the fields: page_id, page_name, page_hits, page_rating. Then just update them as you need (e.g. increment page_hits when a user enters that particular page).
You will find it a lot easier to sort data when you do it from a database, as you can have the database sort it for you.
You need to learn how to create a MySQL database, how to connect to a database in PHP and how to write MySQL queries. Entering those phrases into google should give you some results/tutorials.
Thanks this has been really helpful. i ahve no problem learning mySQL and how to connect as i am currently using a beginners tutorial which covers many aspects of php including mySQL. Thanks for the advice. I currently no basically nothing about mySQL though although i do have it downloaded (i got an all in one package, very helpful

). i do know abit about databases though.
so i need to have the hit counter and user rating directly connected to mySQL. I think ill be alright for now so thanks again btw, feel free to correct me about anything ive done worng or to go into more detail in your post. Best regards, Jonsta