if [ "$contact" != "" ]; then
printf "Hello $contact, it's great to meet you\n"
else
printf "You did not give me your name… no comment !\n"
fi
if [ "$film" != " — Pick a Film —" ]; then
printf "Hey I agree, $FILM is great film\n"
else
printf "You didn't pick a film\n"
fi
if i "$actor" != " —- Pick Your Favourite Actor --" ]; then
printf "So you like the actor $actor, good call\n"
else
printf "You didn't pick a actor from the menu\n"
fi
if [ "$view_cine"="on" ]; then
printf "Yes, I agree the cinema ls still the best place to watch a film\n" else
printf "So you don't go to the cinema, do you know what you're missing\n" fi
if [ "$view_vid"="on" ]; then
printf "I like watching videos at home as well\n"
else
printf "No video!!. you're missing out on all the classics to rent or buy\n'
fi
if [ "$textarea" != "" ]; then
printf " And here are your comments…OK $textarea\n"
else
printf "No comments entered, so no comment !\n"
fi
echo "</PRE>"
echo "</HTML>"