General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 2nd, 2003, 02:50 AM
babygirl babygirl is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 babygirl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #2  
Old September 17th, 2003, 01:25 AM
babygirl babygirl is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 babygirl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Anyone please help!

Reply With Quote
  #3  
Old September 17th, 2003, 06:44 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
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.

Reply With Quote
  #4  
Old November 4th, 2003, 04:47 AM
John Oost John Oost is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 4 John Oost User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Could you please tell me where you donwloaded the support file for Part II of that tutorial? The link seems to be dead.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Voting poll article help needed


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT