Can you post the parse error?
At first glance, I can see a definite parse error:
if($story == "day")
{
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
}
Your HTML needs to be outside of the <?php ?> tags, so you would want to write the above as something like this:
<?php
if($story == "day")
{
?>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<input type ="text" name = "dayArray[]"/></br>
<?php
}?>
You can open and close the <?php ?> tags as you need to throughout your script. Optionally, if you really want to keep it all within one set of <?php ?> tags, you can echo out the HTML you want printed, though this is generally not recommended.
As for how you control which ones are displayed... well, that depends on the value of $story, right?