August 10, 200917 yr hello guys... the title says it all i want to add a star rating system for videos and articles on my site plz help me print it step by step or link a good and easy tutorial.. i have been working with php nd sql though but dont have much of an experiance with codes.. the stars could be any css or flash (but would prefer css) i use xampp and ofcorce phpmyadmin thanks alot in advance.....
August 17, 200917 yr hello guys... the title says it all i want to add a star rating system for videos and articles on my site plz help me print it step by step or link a good and easy tutorial.. i have been working with php nd sql though but dont have much of an experiance with codes.. the stars could be any css or flash (but would prefer css) i use xampp and ofcorce phpmyadmin thanks alot in advance..... With regards to the stars it would be easier for you learning to do it using radio buttons, this would be very simple to submit and process, simply add this to a table ie. product_id, rating. Then to get the average star rating you can produce a query using AVG(). SELECT AVG(rating) FROM table WHERE product_id = "some value"
August 17, 200917 yr Author hmmm thanks andylyon87 for your reply but it is not for me but the person whom i am making the site for.... i have a lot of time as the guy is coming from dubai next year so i was wondering if i could do it without any external site... i have seen many sites but they host the databse and all the files at their own server any ways the radio buttons was a real simple idea though i can now figure out how to do the process i will try to replace the buttons and input with the css stars which i learned to make at adobe tutorial..
August 17, 200917 yr Author hmmm well this says it requires no database i don't really think that it could be done without a database system so that means they woul have the database on their site alas... this is what many others are providing you and i even saw a free one (quite obviously you cannot customize it much).. plus i am still learning si if i will make it myself or if i will use everything of my own then i would be able to learn much more and will be able to play with the codes to change it in any way in the future i have this option but i have kept it for future if i am not able to make on of my own i just want to know where to begin with and what to google to get me to the rigt tutorial well nyways thanks alot jmz for your reply...
August 17, 200917 yr It doesn't use a database as it uses flat files. Basically all of the information is stored in a txt file (or some other sort of file). There's a tutorial on how to make something similar here. Again this one doesn't use a database.
August 17, 200917 yr Author ohhh ok ok i got it now even i use a php fopen fedit the fclose to show video views on my site .. i already knew it but didnt knew it could be used this way either thanks alot my friend thanks .....
September 3, 200917 yr Author The ASP.net AJAX Control Toolkit has a Ratings Control. Its free too. hello Nine9Design Thanks alot for your reply.... and i saw the toolkit it is just awsome but teh thing is that i am a little dumbo in asp... i hav never worked with it berore not even a single page... but yeah this work is all about learning new things i will be trying the same now.... wish me luck... Thanks a million again mate...
Create an account or sign in to comment