I have some code:
<?php session_start(vote);session_register("vote");?>
<?php
if($vote | $id){
if(session_is_registered("vote")){
echo "<p align=\"$error_align\" class=\"$writing_class\">$start_writing$duplicate_caption$end_writing</p>";
} else {echo "WORKS";} ?>
where vote is a variable. However my above code doesn't work. The session doesn't seem to start. Am I doing anything wrong?
Thanks