Image

Imagenspatty wrote in Imagephp 🙃creative

Here's the deal:

I'm still learning PHP, and this is just a project to help me expand my abilities. All I'm making is a simple bookmarks page. It's going to have links to some of my fav. sites, and an option to add a site a the bottom. Simple enough. I think I'm going to save the data in either plain text or XML format. I haven't really decided yet, but ya know. Anyway, the trick is, I want to sort the links by most visited. I can handle the sorting from the data and such, but my problem is implementing a way to keep track of the clicks. I think the best way to do it, would be to have the link lead to a page with GET data /page.php?site=foo and then have that page increment the counter and load the desired site. Any comments will be appreciated. This project is still in it's design state, so I have no sample code to produce. If you know of a good way to load the page, or if I should attemept a different way, please let me know. Also, don't throw code at me. My goal is to learn PHP, not just get this project done.
Thanks in Advance

taP