I get the following error after casting a vote:
Warning: 1 is not a MySQL result index in
atthat/public_html/pollBooth.php3 on line 51
Line 51 tries to free a $result mySQL cursor. I've no idea why it generates that error. The problem is not the warning itself, but the fact that the later Header("Location..") command cannot do its job of redirecting the browser:
Warning: Cannot add more header information - the header was already sent (header information may be added only before any
output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in
atthat/public_html/pollBooth.php3 on line 52
I added a @to the mysql_free_result call to avoid the warning, but that doesn't really solve the problem...