Thread: help guys?
View Single Post
Old Jan 11th, 2005, 12:18 PM   #9
sam1
Newbie
 
Join Date: Nov 2004
Posts: 9
Rep Power: 0 sam1 is on a distinguished road
i inputed ur code at top of this and still it gives me the same results can u checck what is wrong with this:


$f=fopen($votes, "w");
for ($i=0; $i<=count($d)-1; $i++)
{
if ($i == $votes)
{
$onevote[$i]+=1;
$optiontwo[$i]+=1;
$optionthree[$i]+=1;
$optionfour[$i]+=1;
}
fputs($f, "$onevote[$i]|");
//fputs($f, "$optiontwo[$i]|");
// fputs($f, "$optionthree[$i]|");
//fputs($f, "$optionfour[$i]|");

}
fclose($f);
// setcookie("survey", "voted");

}
}
sam1 is offline   Reply With Quote