SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Member
    Join Date
    Nov 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I add a review page on restaurant website?

    Hi, I need to add customer reviews/comments to my website? Can someone help me out?
    Last edited by patientprincess; Dec 24, 2008 at 11:16.

  2. #2
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    Join Date
    May 2006
    Location
    Lancaster University, UK
    Posts
    7,062
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Do you know PHP?
    Jake Arkinstall
    "Sometimes you don't need to reinvent the wheel;
    Sometimes its enough to make that wheel more rounded"-Molona

  3. #3
    SitePoint Member
    Join Date
    Nov 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    not at all but I did install my first drupal forum last night...i'm pretty hyped about that....im basically beginner-intermediate in web development

  4. #4
    SitePoint Member
    Join Date
    Nov 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure if this is the right category but it seems as though many people are viewing my question and for whatever reason not giving me any response. I really don't want anyone doing it but I would love if someone would tell me exactly what software or CMS I need and I will figure out the rest. This forum is full of great minds and its confusing me bc the question is so basic to all the advanced levels that interact here daily.

  5. #5
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    It should be fairly simple, you'll need another table (at least) in your database to hold the review/comments.

    Just capture the data via a form and sanitise as appropriate, then just add the data along the the product id in to the database table.

    What are you currently using to display your products?
    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.

  6. #6
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    Join Date
    May 2006
    Location
    Lancaster University, UK
    Posts
    7,062
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    For a person who hasn't learned PHP, it's not a good idea to build something for a production site as a first program.

    You would be much better off outsourcing this. There may be some online free scripts for it - but I wouldn't recommend going down that route.
    Jake Arkinstall
    "Sometimes you don't need to reinvent the wheel;
    Sometimes its enough to make that wheel more rounded"-Molona

  7. #7
    SitePoint Member
    Join Date
    Nov 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SilverBulletUK View Post
    It should be fairly simple, you'll need another table (at least) in your database to hold the review/comments.

    Just capture the data via a form and sanitise as appropriate, then just add the data along the the product id in to the database table.

    What are you currently using to display your products?

    its for a restaurant website. I guess the idea is to add another tab at the top for Reviews/Comments. The user will be able to view comments and add.

  8. #8
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    Join Date
    May 2006
    Location
    Lancaster University, UK
    Posts
    7,062
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    He meant:
    Quote Originally Posted by SilverB
    What are you currently using to display your products?
    In the PHP source-code sense.

    Do you want it to be reviews for the restaurant as a whole, or for different items on the menu?

    If you mean the former, you are, in effect, looking for a Guestbook script.
    Jake Arkinstall
    "Sometimes you don't need to reinvent the wheel;
    Sometimes its enough to make that wheel more rounded"-Molona

  9. #9
    SitePoint Member
    Join Date
    Nov 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by arkinstall View Post
    He meant:

    In the PHP source-code sense.

    Do you want it to be reviews for the restaurant as a whole, or for different items on the menu?

    If you mean the former, you are, in effect, looking for a Guestbook script.
    Correct, the review is for the restaurant as a whole and not for different items on the menu.

    Will you be able to point me to the most functional guestbook scripts? I'm working with someone and they thought it might be a good idea to see if the host provider had some sort of plugin/module to add a review page. The provider is Earthlink. Does such a thing exist?

  10. #10
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    Join Date
    May 2006
    Location
    Lancaster University, UK
    Posts
    7,062
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    PHP isn't about finding free scripts or adding in modules at all, that's a CMS-only venture (i.e. drupal) and isn't at all popular among developers.

    But, seeing as you're a complete beginner to PHP, prewritten scripts are (only just) forgiveable. Here's a great link to help you find what you're looking for.

    http://www.google.com/search?q=PHP Guestbook Script
    Jake Arkinstall
    "Sometimes you don't need to reinvent the wheel;
    Sometimes its enough to make that wheel more rounded"-Molona


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •