Click here to Skip to main content
15,902,299 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Radio Buttons (long answer) Pin
thebiostyle30-Dec-09 12:17
thebiostyle30-Dec-09 12:17 
GeneralRe: Radio Buttons Pin
enhzflep30-Dec-09 13:20
enhzflep30-Dec-09 13:20 
GeneralRe: Radio Buttons Pin
thebiostyle30-Dec-09 13:34
thebiostyle30-Dec-09 13:34 
GeneralRe: Radio Buttons [modified x2] Pin
enhzflep30-Dec-09 13:41
enhzflep30-Dec-09 13:41 
GeneralRe: Radio Buttons Pin
thebiostyle30-Dec-09 13:59
thebiostyle30-Dec-09 13:59 
GeneralRe: Radio Buttons Pin
enhzflep31-Dec-09 7:04
enhzflep31-Dec-09 7:04 
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 7:13
thebiostyle31-Dec-09 7:13 
GeneralRe: Radio Buttons Pin
enhzflep31-Dec-09 13:05
enhzflep31-Dec-09 13:05 
1] Perhaps I can put this another way, which do you find clearer, and 'better'?
(a)
<input type="hidden" name="vote" id="pollChoice" value=""/>

(b)
<input type="hidden" name="vote" id="pollChoice" value="thisIsJustSomeRandomJunkValue"/>


2]( Laugh | :laugh: )
(1) Get code
(2) get gun
(3) Find quiet place
(4) Shoot code(repeatedly) in the <body>

Ha, ha - no, to be serious - are you familiar with the term "desk-check", it seems it's gone out of fashion these days, but once upon a time we used to run programs first (before typing) by hand with pen and paper. This forces you to think about the code you're writing and to examine it logically.
As it stands, the logic in your "Poll Results.php" file is terribly flawed. Have you tried writing pseudo-code, then converting that to php - or how about converting your current code to pseudo code WTF | :WTF: - then you'll see why I've been having a bit of a laugh with the whole thing.

It is a problem of logic from here. That's up to you. I decline any further invitation to fix it.
Rose | [Rose]
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 18:13
thebiostyle31-Dec-09 18:13 
GeneralRe: Radio Buttons [modified] Pin
enhzflep31-Dec-09 19:41
enhzflep31-Dec-09 19:41 
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 21:44
thebiostyle31-Dec-09 21:44 
QuestionFind the differences betwween two arrays Pin
Marc Firth24-Dec-09 0:51
Marc Firth24-Dec-09 0:51 
AnswerRe: Find the differences betwween two arrays Pin
Luc Pattyn28-Dec-09 10:43
sitebuilderLuc Pattyn28-Dec-09 10:43 
QuestionHow to use postback in php Pin
sarang_k23-Dec-09 22:28
sarang_k23-Dec-09 22:28 
AnswerRe: How to use postback in php Pin
Marc Firth24-Dec-09 1:25
Marc Firth24-Dec-09 1:25 
Questionwarning message Pin
kamalesh574323-Dec-09 15:27
kamalesh574323-Dec-09 15:27 
AnswerRe: warning message Pin
Marc Firth24-Dec-09 1:27
Marc Firth24-Dec-09 1:27 
QuestionSTL vector trouble Pin
Daniel 'Tak' M.22-Dec-09 5:27
Daniel 'Tak' M.22-Dec-09 5:27 
Questionhelp with imap_search function Pin
cjoki21-Dec-09 7:08
cjoki21-Dec-09 7:08 
AnswerRe: help with imap_search function Pin
cjoki21-Dec-09 10:14
cjoki21-Dec-09 10:14 
QuestionPERL script help Pin
David Hoffman19-Dec-09 15:05
David Hoffman19-Dec-09 15:05 
AnswerRe: PERL script help Pin
David Hoffman19-Dec-09 21:45
David Hoffman19-Dec-09 21:45 
GeneralRe: PERL script help Pin
David Hoffman19-Dec-09 22:35
David Hoffman19-Dec-09 22:35 
GeneralRe: PERL script help Pin
Rob21-Dec-09 3:51
Rob21-Dec-09 3:51 
QuestionPHP script getting Gateway Timeout Error. Pin
LazyDragonfist19-Dec-09 8:09
LazyDragonfist19-Dec-09 8:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.