|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Not very easy voting system
I spent all my night learning/making a voting script. the main problem was the session or cookie stuff and some javascript redirections etc. its been a while i touched javascript and it was not very easy for me.
ok look at the voting system on this site http://www.spoono.com/links/index.p...ge=name&search= . they have so many of them listed there. i would give it a shot and probably make it but would take me another day or two . lets discuss how to make that type of rating thing obviously with javascript. is there any tutorial that can refresh my javascript skills and also show how can JS be integrated with php?
__________________
Hungry for Code Programming works best with a team over one single person
|
|
#2
|
|||
|
|||
|
AmericanD,
I'm not too well versed in JS either, but there are a few articles here that might give you a jump-start. Some Simple JavaScript Functions Baking Cookies With JavaScript HTH!
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
Thanks FS . I'll have a look at them
![]() Anyway i also took a course on Javascript at my University a year back. We did make a project and i've that oreilly definitive guide to JS. But my main problem is how to link JS with PHP. for example if we change the selection in the drop down menu, the onChange() function should call another function that tells it to pass variables to a php page which processes information in MySQL (this part of mysql is easy) , and then refreshes back to the original page. If you see on the link above where i was looking at , they have many voting links on the same page, so keeping track of it also should be somewhat tricky but i think a loop should do it. (while loop) hmmm i think i told the solution myself. let me see if i can implement it. I am just doing it for learning purposes though cuz it just came into my mind and i dont feel comfortable when i cannot find solutions to programming problems ![]() Last edited by AmericanD : November 2nd, 2002 at 04:37 PM. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Not very easy voting system |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|