[thelist] Undefined variable: lastpoll /php
Gary Bland
Gary at star-chaser.com
Tue Oct 8 15:26:01 CDT 2002
Can an anyone tell me why I am getting this error Undefined variable:
lastpoll It sure looks defined to me. It is PHP code.
if ($lastpoll && $lastpoll == $_POST['id']){ /* Error is for this line*/
echo" YOU have already voted. Please return for the next poll.";
}
else{
setCookie("lastpoll", $_POST['id'], time()+2592000);
}
TIA
Gary
--
Gary Bland
StarChaser Web Architecture
http://star-chaser.com
Building Tomorrow's World Today
More information about the thelist
mailing list