Problem: renaming databse and tables

Discussion in 'PHP' started by khan11, Sep 29, 2007.

  1. #1
    Hello,

    I'm using masuga's ajax rating script. The link as here

    what i want to do is to rename all the table values which insert in mysql. In other words i want to use this script thrice on same page, not by changing ID values but changing the whole rating_bar function.

    you first need to download that script to get to know what i want to do.

    i tried to rename all the $id and id(s) to $id_a id_a but then i get the following error:
    Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id_a='010000'' at line 1

    any help??
     
    khan11, Sep 29, 2007 IP