Designing a directory


If I wanted to design a directory what techniques could I use to allow users to enter information and what approval process can be implemented?

Say I do a local business directory. The user completes a form - how can PHP be used to create the web page entry to appear online? I suppose the details could be added to a MySQL Database and the web page then displays the tables’ contents. Is this the only method?

If this is the only method, how do I implement an approval process? If someone types in a load of rubbish or the site gets a ‘spam attack’ how could I set it up so that new entries are not added until I approve them?



If you want to do a competitive website you’ll have to get into details with PHP & MySQL because you’ll want to add nice features people can use to better promote their bussinesses.

If you want to be able to do this yourself you will have to know at least some HTML and CSS and then learn PHP and MySQL. Don’t worry about design if you’re not good at it. You can always find a good design that fits your need or a good designer ready to make things pretty for your website.

Consider these books and courses:
[course] Practical CSS
[course] PHP & MySQL Web Development for Beginners
[book] Build Your Own Database Driven Web Site Using PHP & MySQL, 4th Edition
[course] How to Design a Stunning Homepage (Even If You are Not a Designer)
[book] HTML5 & CSS3 for the Real World