PHP-DB - PHP Database Help

Discussion in 'PHP' started by efuzone, Aug 22, 2010.

  1. #1
    Hello i have made my own movie script with database when user click to movie image its shows movie_info.php?id=3. I want to add there rating script of any movie i downloaded ajax rating system added database and then added code in movie_info.php page but its showing same rating in all movies my movie database tables are:

    and rating script database is

    how to setting up so it shows every movie different rating?
     
    efuzone, Aug 22, 2010 IP
  2. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #2
    It would be easier to alter table "movies" and add the new fields to the end, excluding 'id'. Then of course edit your ratings script to collect information from "movies" instead of ratings, things like UPDATE and INSERT TO
     
    MyVodaFone, Aug 22, 2010 IP
  3. efuzone

    efuzone Greenhorn

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    can u help me with this please i dnt know about it i am basic student
     
    efuzone, Aug 22, 2010 IP