Why does the output of this line of code:
foreach ($Day as $D) {
echo '<center><a style="font-size: 80pt; font-family:Arial; font-weight:bolder">'.$D.'</a></center>';
}
Where $Day are the days of the week (previously selected with checkboxes in my form), put each day on a seperate line.
Whereas if it is written as such:
foreach ($Day as $D) {
echo $D;
}
puts the results on the same line.
Is there any way to change the first code to place the results on the same line?
Here is the url of the form I am working on:
www.yardmartplus.com/sign.php
Please be kind I am new to php and sort of winging this. :o