|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Voting poll article help needed
I followed Mitchell's article and I got it working...BTW im really new to PHP...
Now I'm trying to incorporate this poll system into my site so I have the following in my main page: include("poll.php"); But after I vote it goes to the poll.php?pollId=X page to show the results but I just want it to show the results on the same main page. (refreshing the main page does show the results on the main page -- which is weird to me but I want it to go here right after I vote). Thanks for any help! |
|
#2
|
|||
|
|||
|
Anyone please help!
|
|
#3
|
||||
|
||||
|
Why not just wrap the results page in the same skin as the main page? I'm not familiar with the article or program in question. If adding a skin wrapper won't do the trick for you, you might consider combining the poll generation code and the poll submittal code in the same include and adding an if/else block that checks for $_POST vars and posts and displays the results if they exist; else display the unsubmitted poll. Not sure how that'd mesh with any code that prevents multiple submittals, though.
|
|
#4
|
|||
|
|||
|
Could you please tell me where you donwloaded the support file for Part II of that tutorial? The link seems to be dead.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Voting poll article help needed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|