I am attempting to install the free Unobtrusive AJAX Star Rating Bar (http://www.masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/) script and I am running this query. For some reason it will not work: Any help would be greatly appreciated. Thanks in advance.
Please post the error also. you tried to install from console or from phpmyadmin. Regards P.S. Probably you run a different version of mysql ...
I'm going to bet it's because of the quotes around the default values for the int columns (the zeros) and the fact that you're using a strict MySQL. But sacx13 is right: call mysql_error in your PHP and see what the error is!
Thanks for the help so far. The error is listed below. I looked it up but couldn't make any sense of how to fix it.
Oh OK. You probably need to set a default value for 'id', too (seeing as it can't be NULL). Try replacing: 'id' varchar(11) NOT NULL, with: 'id' varchar(11) NOT NULL default '', By the way, that's two single quotes right next to each other... not a double quote.