So in that case I will have to create a page for each establishment manually?
I just had a look at my facebook profile to try and learn something from this. My url for my facebook profile looks like this:
http://www.facebook.com/profile.php?id=762039663
While my images URL look like this:
http://www.facebook.com/profile.php?id=762039663&v=photos
I don't want to copy facebook's methods, but that only proves that there is a simpler way to do this. Do you maybe have any idea how I can do that?
Sorry I'm not very clued up with these things as you have probably noticed. lol. But I appreciate your help and patience very much.
Thanks
reandre68 wrote: I don't want to copy facebook's methods, but that only proves that there is a simpler way to do this. |
What makes you think that the back end of Facebook is simple? What makes a site like Facebook successful is making the front end simple for users, while hiding the complexity behind the scenes.
One of the difficulties of providing help in a forum like this is that there's no way of knowing the other person's level of knowledge or how far down the road they have gone with a particular strategy. It sounds as though you're just beginning with PHP and database-driven sites. It's a challenging and often frustrating time. I remember the problems I had trying to get my head around the best way to structure a database. What makes it difficult is there's no single "right" way to do it. Each database is different. You might develop a database that works just fine; but when you decide to add extra functionality, you discover the structure is too rigid. That happened to me with a major project I worked on several years ago.
Some of the best advice I received about working with databases was to spend a lot of time planning not only what you want the database to do now, but also what you might want it to do in future. The coding takes only a small proportion the total time spent on designing the project. A book that helped me greatly was "Database Design for Mere Mortals". The author's writing style is a bit tedious, but the information is rock solid.
Good luck with your redesign.