hi James
It usually makes me ponder that when people release their so called "scripts" that they don't test it completely inside and out, and rarely consider those people that may not be very experienced in PHP!
Anyway, Ron is trying to tell you to change the "action" (or the taret) of where the information from the form should be parsed to. David has said you need to direct it to vote.php so lets do that.
HTML Code:
<form action="vote.php" method="post">
Put that there instead of the $_SERVER['PHP_SELF']; (which by the way is a predefined variable and returns the path of the PHP script calling upon it, but we don't need it!)
This should work out fine, provided that vote.php and index.php (i assume that's where the voting form is) are in the same directory on your server.
Hope thats works out for ya! Post back either way.
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill
Please visit my sites: Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|